Search found 58 matches
- Wed Feb 17, 2021 8:02 pm
- Forum: MicroPython pyboard
- Topic: Can I use a Pin as Timer source?
- Replies: 1
- Views: 275
Can I use a Pin as Timer source?
Can I let Timer.counter() add 1 when Pin level changed.
- Fri Feb 12, 2021 7:00 pm
- Forum: MicroPython pyboard
- Topic: SD card after ejecting and re-inserting.
- Replies: 5
- Views: 1499
Re: SD card after ejecting and re-inserting.
.deinit() is affect to ESP32 port, I confuse them, on PyBoard, use sd.power() instead,
before eject SD card,
If none SD card inserted, execute sd.power(0) or sd.power(1) will return False.
before eject SD card,
Code: Select all
uos.umount('/sd')
sd.power(0)
then re-insert SD card,True
Code: Select all
sd.power(1)
True
Code: Select all
uos.mount(sd, '/sd')
- Fri Jan 29, 2021 8:39 pm
- Forum: General Discussion and Questions
- Topic: Can I pass parameter to Timer callback?
- Replies: 1
- Views: 156
- Thu Jan 28, 2021 3:22 pm
- Forum: MicroPython pyboard
- Topic: pyboard with LAN8720
- Replies: 3
- Views: 1080
Re: pyboard with LAN8720
Interest on it. Can we refer ESP32 network.LAN() implement, it works fine, it initialize with: lan = network.LAN(mdc = machine.Pin(23), mdio = machine.Pin(18), power = machine.Pin(17), phy_type = network.PHY_LAN8720, phy_addr = 1) Relate link: https://github.com/micropython/micropython/blob/master/p...
- Thu Jan 28, 2021 2:12 pm
- Forum: MicroPython pyboard
- Topic: SD card after ejecting and re-inserting.
- Replies: 5
- Views: 1499
Re: SD card after ejecting and re-inserting.
Try sd.deinit() after uos.umount('/sd') or eject SD card, and initialize 'sd' object again after re-insert SD card.
- Wed Jan 27, 2021 8:39 pm
- Forum: Programs, Libraries and Tools
- Topic: WIZnet5K use DHCP ?
- Replies: 4
- Views: 1489
Re: WIZnet5K use DHCP ?
That section doesn't mention DHCP at all. So I tried to build firmware for my PyBoard like this: make BOARD=PYBV11 MICROPY_PY_WIZNET5K=5500 MICROPY_PY_LWIP=1 (PYBV11 for PyBoard v1.1 in my case), and it helped, so apparently DHCP is implemented in lwIP. Good, it works. I think the lwIP module alrea...
- Wed Jan 27, 2021 1:38 pm
- Forum: Programs, Libraries and Tools
- Topic: Hi speed refresh specific area at SSD1306?
- Replies: 0
- Views: 214
Hi speed refresh specific area at SSD1306?
In some SSD1306 use case, just need to change specific area contents only, or likes Arduino serial plotter scroll the graphic from right to left, if use SSD1306.fill(0) then redraw entire(full screen) graphic, it will be slow and blinking extremely, someone could give some examples by other better m...
- Tue Jan 12, 2021 4:24 pm
- Forum: General Discussion and Questions
- Topic: v1.13 document .PDF version not available?
- Replies: 1
- Views: 654
v1.13 document .PDF version not available?
The document .pdf version isn't build automatically by Readthedocs?
- Sat Sep 12, 2020 7:50 am
- Forum: MicroPython pyboard
- Topic: pyb.I2C.SLAVE can't discover.
- Replies: 5
- Views: 940
Re: pyb.I2C.SLAVE can't discover.
I want to let pyboard works as I2C slave like SSD1306, BME280 ... , when receive command, do something, why those devices can do that with 2-wires ?


- Fri Sep 11, 2020 3:40 pm
- Forum: Development of MicroPython
- Topic: Repeat module in release firmware?
- Replies: 3
- Views: 785