Why do I keep getting;
[2] 15 SetPin GP28,AIN
Error : Invalid configuration
this line used to work perfectly before on 6.02?
Im using a Pimoroni Pico 2 plus @ 256MHz PSRAM enabled on both machines, but In my Picocalc it doesnt work, and it Did work with the original rp2040 that came with it as well.
my Option list is:
option list
PicoMite MMBasic RP2350B Edition V6.00.03
OPTION SERIAL CONSOLE COM1,GP0,GP1
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION SYSTEM I2C GP6,GP7, SLOW
OPTION FLASH SIZE 16777216
OPTION COLOURCODE ON
OPTION DEFAULT COLOURS GREEN, BLACK
OPTION KEYBOARD I2C
OPTION PICO OFF
OPTION CPUSPEED (KHz) 256000
OPTION LCDPANEL CONSOLE , FF00
OPTION DISPLAY 26, 40
OPTION LCDPANEL ST7796SP, PORTRAIT,GP14,GP15,GP13,INVERT
OPTION SDCARD GP17, GP18, GP19, GP16
OPTION AUDIO GP26,GP27’, ON PWM CHANNEL 5
OPTION PLATFORM PicoCalc
OPTION PSRAM PIN GP47
————————————————————
Also Im not using any bootloaders, I have the Picocalc picomite UF2 burned directly to the Pico and use the SD card only for saving .bas files, otherwise its completely empty.
Any ideas why I can`t set pin GP28 as an analog IN pin?
An issue with the Pimoroni boards ?. Just tried setpin gp28,ain on my 2350a Pico2 without issue. For comparison setpin gp30,ain gives ‘invalid GPIO’ as expected.
The chip Does have a legitimate pin GP28 as well, so I have no idea what theyve done? are 2 different GPIOs serving the same physical pin with 1k resistors as protection maybe? ¯\_(ツ)_/¯