Home > 18FXXXX, microcontroller > Touchscreen Code for ADS7843

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…

My work of uhhh?

The main file is pic paint; the driver for the touchscreen is ADS7843 header and ADS7843 driver. The LCD uses the code posted previously.


  1. No comments yet.
  1. No trackbacks yet.

Leave a comment