Definitely have a trusted and thorough technician look at it before giving up on it.
I had a dryer that quit working, this was about 10 years ago. Hubby determined the problem was the motherboard. He almost ordered another one for $350, but he looked carefully at it and realized one of the solders had just popped off. He re-soldered that spot and it's been working fine ever since.