With the Web IDE, did you click the 'connect' button in the top left? If you're not connected then the terminal won't react.
Also, you say you used /dev/tty... - what about /dev/cu...? Sometimes I think you may need to use that on Macs.
It's possible that the Mac is actually trying to take control of the Pico and use it as a modem (you could check in settings and see if that's happening?). It would explain the issues you were having with screen too.
For the external button, after using pinMode(B4, "input_pulldown");, does digitalRead(B4) return 0 when not pressed and 1 when pressed?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
With the Web IDE, did you click the 'connect' button in the top left? If you're not connected then the terminal won't react.
Also, you say you used
/dev/tty...
- what about/dev/cu...
? Sometimes I think you may need to use that on Macs.It's possible that the Mac is actually trying to take control of the Pico and use it as a modem (you could check in settings and see if that's happening?). It would explain the issues you were having with
screen
too.For the external button, after using
pinMode(B4, "input_pulldown");
, doesdigitalRead(B4)
return 0 when not pressed and 1 when pressed?