Touchscreen Code for ADS7843
Here’s my code for the touchscreen. It’s basically just ported from whatever was provided, with a slightly improved painting application. The coordinate conversion could use some tweaking, but is close enough for now. Using integers saves code space anyways. The Y direction is kinda jumpy too, and could probably be fixed with different settings. Meh, later…
The main file is pic paint; the driver for the touchscreen is ADS7843 header and ADS7843 driver. The LCD uses the code posted previously.
Categories: 18FXXXX, microcontroller
microcontroller, pic18F4580, touchscreen
Comments (0)
Trackbacks (0)
Leave a comment
Trackback