'PICO BACKPACK options and startup
'Run these at the prompt to set the OPTIONs needed to work with the BackPack

'SPI needed for LCD/touch/SD
OPTION SYSTEM SPI GP18,GP19,GP16
OPTION SDCARD GP21
OPTION LCDPANEL ILI9488, LANDSCAPE,GP14,GP13,GP12
GUI TEST LCDPANEL
OPTION TOUCH GP15,GP17
GUI CALIBRATE 0, 3941, 3894, -1274, -859
GUI TEST TOUCH
'I2C needed for RTC
OPTION SYSTEM I2C  GP10, GP11
'for audio
OPTION AUDIO GP8, GP9

'to use GUI controls
OPTION GUI CONTROLS 20

'No need to run these, just sample lines to use in a program
'in program to use IR
SETPIN GP22, IR  

'use RTC once I2C is configured
RTC GETTIME

'Backlight GP20=PWM2A
SETPIN GP20, PWM
PWM 2,10000,50	'last number is duty in %

