Search found 78 matches

by pagano.paganino
Thu May 14, 2020 8:34 pm
Forum: Programs, Libraries and Tools
Topic: Bluetooth library for B_L475E_IOT01A1
Replies: 3
Views: 428

Re: Bluetooth library for B_L475E_IOT01A1

Hi,
some time ago I wrote this library: https://github.com/dmazzella/uble

Hope this can Help!
by pagano.paganino
Thu Apr 02, 2020 11:06 pm
Forum: MicroPython pyboard
Topic: ram usage
Replies: 3
Views: 529

Re: ram usage

You can try this: import io import os class DUP(io.IOBase): def __init__(self, s): self.s = s def write(self, data): self.s += data return len(data) def readinto(self, data): return 0 s = bytearray() os.dupterm(DUP(s)) machine.info(1) os.dupterm(None)
by pagano.paganino
Thu Mar 12, 2020 12:05 am
Forum: Pyboard D-series
Topic: SD card not working in D-series
Replies: 6
Views: 1643

Re: SD card not working in D-series

try this:

Code: Select all

pyb.usb_mode('VCP+MSC', msc=(pyb.SDCard(),)) # expose SD card to the PC
by pagano.paganino
Sun Dec 01, 2019 6:45 pm
Forum: Pyboard D-series
Topic: BLE Pairing & bonding
Replies: 1
Views: 772

BLE Pairing & bonding

News about pairing & bonding support?
by pagano.paganino
Thu Oct 03, 2019 8:52 am
Forum: General Discussion and Questions
Topic: How to implement __setattr__ without infinite recursion
Replies: 14
Views: 2147

Re: How to implement __setattr__ without infinite recursion

@jimmo into the issue : py: object base class doesn't implement __setattr__ and __delattr__ #2755 i have already implemented this, can be this reuse?
by pagano.paganino
Tue Mar 05, 2019 12:11 pm
Forum: General Discussion and Questions
Topic: Melbourne MicroPython Meetup material
Replies: 5
Views: 1160

Re: Melbourne MicroPython Meetup material

Thank you for naming my library ucryptoauthlib
by pagano.paganino
Tue Feb 26, 2019 9:44 pm
Forum: Development of MicroPython
Topic: Build Issue
Replies: 9
Views: 1484

Re: Build Issue

to reproduce: copy the test.py file to the 'modules' subfolder, uncomment any of these tests and try to compile. # # FAIL # _B = ('NULL',) # # FAIL #_B1 = ['NULL'] # # FAIL # _B2 = {'NULL':None} # # FAIL # _B3 = dict(NULL=None) # # FAIL # def NULL(): # pass # # FAIL # class NULL(object): # pass # # ...
by pagano.paganino
Tue Feb 26, 2019 8:20 am
Forum: Development of MicroPython
Topic: Build Issue
Replies: 9
Views: 1484

Re: Build Issue

Have you declared a string containing 'NULL'?

Try remove it and rebuild.