Search found 38 matches

by Stevo52
Thu Aug 20, 2020 12:38 am
Forum: MicroPython pyboard
Topic: Pyboard.py
Replies: 13
Views: 7019

Re: Pyboard.py

OK.. what device are you using to connect to the pyboard? Windows? I am not sure how you have determined that the pyboard and pyboard.py is running.. your comment indicates that it isn't? When you connect the pyboard, do you see the device on the PC? like in Device Manager or Windows Explorer. I don...
by Stevo52
Wed Aug 19, 2020 3:21 am
Forum: MicroPython pyboard
Topic: Pyboard.py
Replies: 13
Views: 7019

Re: Pyboard.py

Welcome to the pyboard and Micropython world... and this forum.. The first steps you take can be quite daunting but it won't take you long to get the hang of it all. Firstly - which pyboard model do you have? There are a few different ones... :-) Start here maybe: https://store.micropython.org/ to s...
by Stevo52
Fri Aug 14, 2020 5:40 am
Forum: Pyboard D-series
Topic: SD Card over USB MCS
Replies: 1
Views: 2131

Re: SD Card over USB MCS

It might help if you post the code you are using? Do you get any error messages? I have this in boot.py (probably in common use)... import sys, uos, pyb # If an SD is detected, mount it if pyb.SDCard().present(): uos.mount(pyb.SDCard(), '/sd') sys.path[1:1] = ['/sd', 'sd/lib'] It works as expected w...
by Stevo52
Fri Aug 14, 2020 5:23 am
Forum: Pyboard D-series
Topic: wbus-DIP28 button use?
Replies: 5
Views: 3729

Re: wbus-DIP28 button use?

WBUS-DIP 28 Boot 0 switch is on pin Y13 from what I worked out on the schematics, but I gave up trying to use it because the button isn't the easiest to get at once fitted with a Pyb D and especially if connected / powered through the USB FS port on the DIP28, when the boards are in the enclosure. T...
by Stevo52
Wed Jul 22, 2020 1:36 am
Forum: Pyboard D-series
Topic: Prototyping board with 20-pin mezzanine plug/s
Replies: 9
Views: 6204

Re: Prototyping board with 20-pin mezzanine plug/s

Hi, I am back on the development workbench after an lengthy absence for health reasons. Now that I am coding again I am enjoying it and slowly the ideas and competency is returning. it is good exercise for a 'lazy' brain :-) ! Was there any further progress on developing WBUS prototyping boards as d...
by Stevo52
Tue Jul 21, 2020 11:20 pm
Forum: Pyboard D-series
Topic: TILE-SENSA Document error and a PIN reference tool?
Replies: 0
Views: 1989

TILE-SENSA Document error and a PIN reference tool?

After a bit of experimentation I have noted that there is an error in the TILE-SENSA documentation relating to the LEDS.. Documentation example gives: from machine import Pin, Signal led_r = Signal('X2', Pin.OUT, value=0, invert=True) led_g = Signal('X3', Pin.OUT, value=0, invert=True) led_b = Signa...
by Stevo52
Tue Jul 21, 2020 8:52 am
Forum: Pyboard D-series
Topic: i2c woe on pyboard d
Replies: 9
Views: 6848

Re: i2c woe on pyboard d

There are plans to create a tool that helps creating mpconfigboard.h and pins.csv files with respect to WBUS and MCU features. @chuckbook, you made the above comment... This is a general query rather than specific to i2C. Such a very handy, has the idea progressed? are the any existing documents th...
by Stevo52
Sun Jul 19, 2020 11:19 am
Forum: Pyboard D-series
Topic: Repair PYBD SF6W - Help please.
Replies: 8
Views: 4813

Re: Repair PYBD SF6W - Help please.

I reinstalled Python 3.8 and pip worked and rshell is now installed. Unfortunately I do other work that needs Windows, so I have to use that platform - not without some problems though. Thanks for your help though.
by Stevo52
Sun Jul 19, 2020 11:11 am
Forum: Pyboard D-series
Topic: How to use micropython.schedule effectively
Replies: 2
Views: 7654

Re: How to use micropython.schedule effectively

Thanks Peter, That makes sense now you have shown code that explains how it works. I have edited my code using your example and it works fine i.e. the way I expected it to work. I was a bit confused by the documentation for Timer and micropython.schedule together. I tried unsuccessfully to find any ...
by Stevo52
Sun Jul 19, 2020 4:48 am
Forum: Pyboard D-series
Topic: How to use micropython.schedule effectively
Replies: 2
Views: 7654

How to use micropython.schedule effectively

Hi, Another noob question from me I guess.. I am wanting to use micropython.schedule for two timer callbacks, to avoid random memory allocation errors when the callback triggers. A single instance works fine, but a second instance doesn't seem to trigger the 2nd callback from the following. # After ...