SparkFun Forums 

Where electronics enthusiasts find answers.

Topics pertaining to the Arduino Core & software used with the Artemis module and Artemis development boards.
#221303
Just tried the AnalogRead example of V2.0.2 on my Artemis Thing Plus board. Using Arduino IDE 1.8.13

AnalogRead(), getTempDegF() and getVCCV() always return 0.
No matter which analog pin i am passing to AnalogRead(), things do not change.
I understand that the last 2 should output float values but for a while MBED uses its own minimal printf() by default, which does not support float values by default. Link This might be relevant for these functions, however AnalogRead() should return an int, but even that functions seems to be broken.

analogReadVCCDiv3(), analogReadVSS() and analogReadTemp() are returning values that make sense.
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum