Search found 4 matches

by thh123
Thu Mar 26, 2020 7:50 pm
Forum: MicroPython pyboard
Topic: Connection - Direct control
Replies: 6
Views: 3216

Re: Connection - Direct control

console/command line/terminator, whatever you like to call it... I played with the chmod settings of ttyACM0 which seems to have resolve this now :) Running the following works well now... python pyboard.py --device /dev/ttyACM0 -c 'print(1+1)' You mentioned the soft reset, however when running the ...
by thh123
Thu Mar 26, 2020 10:46 am
Forum: MicroPython pyboard
Topic: Connection - Direct control
Replies: 6
Views: 3216

Re: Connection - Direct control

Sadly I keep getting a failure to access ttyACM0 Errno16, I am running this on a VM.

Using the console I can connect to the PyB but through any for of script. hummm
by thh123
Thu Mar 26, 2020 9:11 am
Forum: MicroPython pyboard
Topic: Connection - Direct control
Replies: 6
Views: 3216

Re: Connection - Direct control

Hi, Thanks for the speedy reply. This looks interesting… For sure the soft restarting may be an issue. I was hoping for a more “live” way to control the PyBoard. e.g. when you enter the native python environment and you can feely type into the console. I'll have a look into the tool though seems lik...
by thh123
Thu Mar 26, 2020 1:52 am
Forum: MicroPython pyboard
Topic: Connection - Direct control
Replies: 6
Views: 3216

Connection - Direct control

Hi all, I've been using the Pybaoard for a little while, been pushing my main.py files over to the Pyboard, works a treat or manually screening onto the Pyboard and running commands etc. I want to control the PyBoard from my host PC with an automated Python script. e.g. toggle a GPIO, read a GPIO va...