??? 09/29/09 07:54 Read: times |
#169247 - ADC read function just stop working Responding to: ???'s previous message |
Ralf Altman said:
in some how the ADC read function just stop working No, it doesn't "just stop working" - there will be a reason. eg, what happens if there is no character available when you call getchar...? it only works if I either comment "c = get_char(); or get character in the way I showed in the previous post. OK, so you might choose to set the getchar issue aside, and go back to polling. But your polling method is still incorrect - as mentioned previously. |