I can't answer without knowing exactly what circuit is on the breakout board. Let me know if you can find a schematic. Also, as I said, do not use a higher value resistor, or you might damage the IOIO by exposing the analog pin to an over-voltage. Connecting two 10kOhm in parallel would give you 5k, which should be OK. Change 4700 to 5000 in the code if you do that.
On Wed, Apr 2, 2014 at 9:24 AM, Marius Vosylius <[email protected]>wrote: > Its a bit confusing Ytai, can you please have a look at picture attached > and tell me if Im doing it ok: > > Black GND - IOIO-GND > AOUT - IOIO Analog Pin > VCC - IOIO 5V. > > What else do I need to connect. > > I don't have smaller resistor than 10k Ohm, I have ordered assorted kit > today. > > What do I need to change in my Java Code? > > *V = 5 * 4700 / (4700 + R)* > > Can you please throw example that would suit to my code. > > > <https://lh3.googleusercontent.com/-UXAcHAqh53g/Uzw4z3o_bgI/AAAAAAAAHqM/B1QEuEjyspY/s1600/IMAG0220.jpg> > > > -- > You received this message because you are subscribed to the Google Groups > "ioio-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/ioio-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
