Search found 26 matches

by Stevo52
Fri Aug 14, 2020 5:40 am
Forum: Pyboard D-series
Topic: SD Card over USB MCS
Replies: 1
Views: 44

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: 4
Views: 86

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: 1313

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: 257

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: 1291

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: 386

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: 139

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: 139

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 ...
by Stevo52
Sat Jul 18, 2020 9:27 am
Forum: Pyboard D-series
Topic: Repair PYBD SF6W - Help please.
Replies: 8
Views: 386

Re: Repair PYBD SF6W - Help please.

Thanks Peter, I will try those options tomorrow on one device. I appreciate the daily builds are tested, but "unstable" versions are subject to changes in my experience, adversely affecting any existing code. I have enough trouble sorting out my own code, without trying to figure out someone elses! ...
by Stevo52
Sat Jul 18, 2020 6:58 am
Forum: Pyboard D-series
Topic: Repair PYBD SF6W - Help please.
Replies: 8
Views: 386

Re: Repair PYBD SF6W - Help please.

So some good news, the SF6W is OK and I have been writing and running code on it OK. Some bad things though - 1. updating the SF2W and SF6W to a fresh download of PYBD-SF2-20191220-v1.12.dfu and PYBD-SF6-20191220-v1.12.dfu respectively, using an elevated PowerShell and then dfu-util-static went OK b...