Problems with analog simulation using arduino mega 2560
Posted: Thu May 22, 2014 7:06 pm
I am having problems with simulating the arduino mega 2560 analog channels..
I set it up with the regular potentiometer set to channel 0
Then i make a int called Pot1
I use the Getint macro
The simulation debugger will only return 0 at any setting of the simulated pot
I open op the Analog input window and it will return byte, percent and Uint values but will not return a Raw
I change my target chip to arduino uno pdip and all works well.
I have not seen how it reacts on the real micro put i would assume if the simulation has a problem most likely the real chip will to.. plus its not very helpful with testing and debugging when its not working in sim.
Br,
Slade
I set it up with the regular potentiometer set to channel 0
Then i make a int called Pot1
I use the Getint macro
The simulation debugger will only return 0 at any setting of the simulated pot
I open op the Analog input window and it will return byte, percent and Uint values but will not return a Raw
I change my target chip to arduino uno pdip and all works well.
I have not seen how it reacts on the real micro put i would assume if the simulation has a problem most likely the real chip will to.. plus its not very helpful with testing and debugging when its not working in sim.
Br,
Slade