Pages: [1]   Go Down
Author Topic: Simple modification to Adafruit touchpaint example  (Read 264 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 87
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I made a simple modification to Adafruit's touchpaint example for the new 2.8" TFT Touch shield for Arduino v2, adding a "toolbar" on the bottom that lets you select the size of the pixel that you paint with.

I did it  as an example of how to make a simple UI. I have not seen any bugs (shouldn't be, it's pretty simple, like I said), and the full source code is available on my Github:

https://github.com/sjheiss/Touchpaint_pixelsize

Feel free to do with it as you like, as long as you follow the simple MIT license, which I have not changed since the original.

Hope someone likes it, or even uses it to learn from. smiley

(And sorry for the horrible picture. I have an atrocious camera with bad lighting, but at least you can get the gist of what it looks like.)


* Touchsizes.jpg (23.83 KB, 368x486 - viewed 29 times.)
Logged

Pages: [1]   Go Up
Jump to: