Touchscreen.h

Yes,even i wanted to say that.

My breakout board is working!!

Compiled with freedom-e-SDk not with Arduino ide:smiley:

Touch functionality is still pending , struggling with ADC ,I dont know much about ADC ,and which one should be selected for this project!

Another issue , my program gets vanished once the power is removed and need to flash the code again.
what is the solution to run the program from non-volatile memory?

Oh! You must have one of the boards that accidentally went from the factory without the flash being programmed correctly. This has actually happened in two different ways at different times, but in both cases you can correct the problem by following the instructions at Arduino programing lost after reset/powercycle

As for ADC, I think absolutely any discrete ADC is going to be as good or better than what is built into the AVR chip on a standard Arduino. This one looks pretty cheap https://www.adafruit.com/product/856 but I suspect it might work out slightly easier to interface to one with I2C rather than SPI if you don’t need super high speed so maybe this one https://www.adafruit.com/product/1083

There’s a lot of information on how to use that I2C breakout board (and its higher precision but slower cousin) at https://learn.adafruit.com/adafruit-4-channel-adc-breakouts

1 Like

Thank you…Bruce.
Really helpful.

Actually i am comfortable with software spi ,will it be ok with MCP3008??
or should i try for software i2c alone?

I’m sure that will be fine.

Thank you.

I feel little bit difficult in pin connections between breakout touch screen display https://www.adafruit.com/product/1770 and MCP3008, i tried breakout paint example, when i touch in one place it prints some where else.

So can i go ahead with STMPE610 resistive touch screen controller?https://www.adafruit.com/product/1571
it has SPI also.