done a bit more
have added tft_sleep tft_wake tft_on tft_off subs, added DRAWRRECT usercmd (draw round cornered rectangle).
change way buttons are defined . can have rectangular buttons , a button colour scheme and the button "title" text is now stored in pgm memory
attached is a demo for a pic18f2520 using sleep/ wake on touch interrupt , backlight modulation using a pnp trany bc557 (full 10 bit)
can supply cct if req




Bookmarks