Quote:
Originally Posted by Crossle86
Actually we did get this code to work. Again, my question is how did you determine the i2c port number to use?
Also, whatever function we use to read the pot on the analoginput, we get large values, in the range of 208-224. I was expecting (as documented) to 0 to 5, at least using getvoltage function. Have not used analoginput before so seems I am missing something...
|
The I2C port number is constant, hex 0x70. The analog input, last i checked, is a value from 0 to 1024 that maps to a value of 0-5v.