Search found 401 matches

by devnull
Fri Nov 01, 2019 12:19 pm
Forum: General Discussion and Questions
Topic: round() is not rounding on SF6
Replies: 6
Views: 399

Re: round() is not rounding

@kevinkk525 - No, this is a SF6 Pyboard D !
by devnull
Fri Nov 01, 2019 12:10 pm
Forum: General Discussion and Questions
Topic: round() is not rounding on SF6
Replies: 6
Views: 399

round() is not rounding on SF6

What am I doing wrong, I would expect 65.5 ?!

Code: Select all

>>> round(65.50000000000001,1)
65.50000000000001
>>>
by devnull
Fri Nov 01, 2019 5:03 am
Forum: Pyboard D-series
Topic: DFU flashing 2nd partition takes 20 minutes
Replies: 9
Views: 533

Re: DFU flashing 2nd partition takes 20 minutes

It has now just started failing after about 10 - 15 minutes: dfu-util 0.9 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2016 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/...
by devnull
Thu Oct 31, 2019 11:12 pm
Forum: Pyboard D-series
Topic: DFU flashing 2nd partition takes 20 minutes
Replies: 9
Views: 533

Re: DFU flashing 2nd partition takes 20 minutes

Thanks Peter, yes I have tested another SF6 device and that is no problem, so it seems to be a hardware issue with this SF2.
by devnull
Wed Oct 30, 2019 11:21 pm
Forum: Pyboard D-series
Topic: DFU flashing 2nd partition takes 20 minutes
Replies: 9
Views: 533

Re: DFU flashing takes 20 minutes

I have tried this on 2 different computers now, and the result is the same, so it's definitely a problem with the SF2 device !

@damien - any idea what may be causing this ??
by devnull
Wed Oct 30, 2019 11:05 am
Forum: Pyboard D-series
Topic: DFU flashing 2nd partition takes 20 minutes
Replies: 9
Views: 533

DFU flashing 2nd partition takes 20 minutes

Device is SF2, Tthe first download completes in just a few seconds, the second one is VERY slow, I timed it and it took 20 Mins to download the second partition. The device is also behaving strangely and previously working bluetooth code now crashes the device (https://forum.micropython.org/viewtopi...
by devnull
Wed Oct 30, 2019 9:38 am
Forum: Pyboard D-series
Topic: Crash when enabling Bluetooth
Replies: 0
Views: 782

Crash when enabling Bluetooth

Not sure what's happening here, but each time I try and and enable bluetooth I get disconnected from rshell, I assume it chashes ?? rshell -p /dev/tty.usbmodem* Connecting to /dev/tty.usbmodem3557315430371 ... Welcome to rshell. Use Control-D to exit. /Volumes/dev/uPython/flash> repl Entering REPL. ...
by devnull
Tue Oct 22, 2019 11:20 pm
Forum: General Discussion and Questions
Topic: Decoding BLE Scan Results
Replies: 7
Views: 559

Re: Decoding BLE Scan Results

Hi @jimmo - could you confirm that my 5 steps above are the correct way to read a value by it's UUID ??

Many Thanks
by devnull
Sun Oct 20, 2019 11:16 pm
Forum: General Discussion and Questions
Topic: Decoding BLE Scan Results
Replies: 7
Views: 559

Re: Decoding BLE Scan Results

So, based on my experiments / tests, it appears that you cannot directly read a service by UUID, but need to send several commands and parse the results ?? For example if I want to read the battery level: 0x180f, then I would need to: 1) discover all services for a device 2) parse the services resul...
by devnull
Fri Oct 18, 2019 3:27 am
Forum: General Discussion and Questions
Topic: Decoding BLE Scan Results
Replies: 7
Views: 559

Re: Decoding BLE Scan Results

OK, managed to find a device with a mac address and the reported address appears to be correct. But if I use a BLE scanner on my iphone the ID (which I assume is the mac address) is much longer i.e. F5E3DC34-F500-3E17-OA49-F2A5EC0E66E2 I have managed to determine which device is my Beacon as the man...