Neo6502 GPIO hello world!
968 بار بازدید -
7 ماه پیش
-
Morpheus Neo6502 0.15.2 introduce GPIO
Morpheus Neo6502 0.15.2 introduce GPIO access via BASIC. The syntax is simple: pin p, input|output define the pin number p as input or output. p number is 3..10 corresponding to UEXT pin numbers (pin.1 is +3.3V and pin.2 is GND) Then you can write to pin with pin p,0|false or pin p,1:true and change the GPIO voltage to 0V or 3.3V. And you can read the pin with pin(p) like print pin(4)
7 ماه پیش
در تاریخ 1402/12/03 منتشر شده
است.
968
بـار بازدید شده