Troubleshooting
If R2P2 hang up (sorry for a bugđ)
Plug off, wait 3 seconds, and plug in again. If it obviously hangs up again, please report it to us with the detail steps to reproduce the hang up.
NoMethodError???
PicoRuby is a small implementation for limited resources. It has less classes and methods than your usual CRuby. You can check API documentation here: https://picoruby.github.io/Array.html
NoMemoryError???
You will get NoMemoryError
if you use R2P2 and IRB for a long time.
Please reboot R2P2.
If a single script causes NoMemoryError
, the script might be too large.
Otherwise, you have hit a memory leak bug.
Please report it to us with the script!
If you app.rb
doesnât work as you wish and you get lost control of Raspi Pico
- If you put
/home/app.rb
in your R2P2, it will run automatically at startup. But sometimes it may not work as you wish and you may get lost control of R2P2 shell. -
At startup of R2P2, pressing âSâ key will skip running the
app.rb
and R2P2 shell will be in control