Go Down

Topic: Simple modification to Adafruit touchpaint example (Read 338 times) previous topic - next topic

sjheiss

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. :)

(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.)

Go Up