Search found 77 matches

by pagano.paganino
Thu Apr 02, 2020 11:06 pm
Forum: MicroPython pyboard
Topic: ram usage
Replies: 3
Views: 64

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: 5
Views: 816

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

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

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

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

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

Re: Build Issue

Have you declared a string containing 'NULL'?

Try remove it and rebuild.
by pagano.paganino
Wed Jan 23, 2019 10:02 am
Forum: Drivers for External Components
Topic: ATECC508A and ATECC608A cryptoauthlib
Replies: 0
Views: 519

ATECC508A and ATECC608A cryptoauthlib

Hi folks, at this link https://github.com/dmazzella/ucryptoauthlib I have created a driver in pure-python for interact with the Microchip's secure element ATECC508A and ATECC608A from a PyBoard. The API are the same of the C library/driver from Microchip https://github.com/MicrochipTech/cryptoauthli...