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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: