A tiny JavaScript runtime for RP2040 (Raspberry Pi Pico)
sck
option namemicros()
and delayMicroseconds()
process.memoryUsage()
toInst()
to get instruction code of PIO ASMdormant()
to rp2
moduledormant()
for low power consumptionPWM
and tone()
functionseed()
function for providing seed for random number generation (Math.random()
)tone()
's duration timer is not releasedattachInterrupt()
detachInterrupt()
enableInterrupts()
disableInterrupts()
for-await-of
language elementsetWatch
. They can be combined with bitwise OR |
operator.
LOW_LEVEL
HIGH_LEVEL
FALLING
RISING
CHANGE
pinMode()
, digitalWrite()
board
objectat
moduleError
objectURL
modulebutton
modulestream
net
http
wifi
netdev
and ieee80211dev
device driversCtrl+C
to break executionpulseRead()
for triggering optionsINPUT_PULLDOWN
The first release.