Maple Minihas a total of34input / output pins, numbered fromD0 toD33.Maple Minilabel on thescreencorresponds to the portand itsadjacent.However, theyhavesome of thedefaulthas a specialpurpose.
D23isthe USBportD +, D24isthe USBD-.Such astheiruseasGPIO, then yourprogrammust firstdisable the USBport.Butyou know,disableUSB serialbootloadermeans thatprioritywill notwork, youwill need to passPerpetual Bootloaderforthe nextupdate.
PortD32isthe Minibuttonport.Therefore,it is mainlyused as an inputport.When the keyis pressed, the magneticportwill readhigh.
PortD33isthe MiniLED port.Therefore,its mainrole isas an output port.Whenit was written withhigh, LED lightswillbe lit