Thanks for the input Link, I'll have to have a look at that code, it looks smaller than mine.
The way I've done it works currently though. When I cut and pasted code it seems some characters didn't come across for some reason. the individual lines should look more like:
I don't know why, but the ADC values do come out between those values; they go all the way up to 65535 with full voltage. I tried to calculate how they'd come out before I coded it, but ended up just adjusting them after seeing the output. If anyone knows why that'd be interesting.Code:IF TEMP > 22000 AND TEMP <= 35000 THEN POSITION = 175
Still need help with the interrupts though.
I've since added every single registry setting I could find in, and i got it off the ground, but it's giving me very strange results. I'll post more details once the kids are in bed.![]()




Bookmarks