Search found 75 matches

by water
Thu Jan 28, 2021 3:22 pm
Forum: MicroPython pyboard
Topic: pyboard with LAN8720
Replies: 3
Views: 3703

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...
by water
Thu Jan 28, 2021 2:12 pm
Forum: MicroPython pyboard
Topic: SD card after ejecting and re-inserting.
Replies: 5
Views: 4991

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.
by water
Wed Jan 27, 2021 8:39 pm
Forum: Programs, Libraries and Tools
Topic: WIZnet5K use DHCP ?
Replies: 4
Views: 4020

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...
by water
Wed Jan 27, 2021 1:38 pm
Forum: Programs, Libraries and Tools
Topic: Hi speed refresh specific area at SSD1306?
Replies: 0
Views: 892

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...
by water
Tue Jan 12, 2021 4:24 pm
Forum: General Discussion and Questions
Topic: v1.13 document .PDF version not available?
Replies: 1
Views: 1594

v1.13 document .PDF version not available?

The document .pdf version isn't build automatically by Readthedocs?
by water
Sat Sep 12, 2020 7:50 am
Forum: MicroPython pyboard
Topic: pyb.I2C.SLAVE can't discover.
Replies: 5
Views: 3162

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 ?
:?:
by water
Fri Sep 11, 2020 3:40 pm
Forum: Development of MicroPython
Topic: Repeat module in release firmware?
Replies: 3
Views: 2312

Re: Repeat module in release firmware?

Thanks.
by water
Fri Sep 11, 2020 3:35 pm
Forum: Programs, Libraries and Tools
Topic: WIZnet5K use DHCP ?
Replies: 4
Views: 4020

WIZnet5K use DHCP ?

Can I configure WIZnet5K use DHCP ? If not, how to set the network parameter ? I try to use nic.ifconfig(('192.168.1.103', '255.255.255.0', '192.168.1.1', '8.8.8.8')) (e.g. my router IP address is '192.168.1.1') but can't not connect to internet, WIZnet5K device can't detect on router (it should be ...
by water
Fri Sep 11, 2020 2:33 pm
Forum: MicroPython pyboard
Topic: pyb.I2C.SLAVE can't discover.
Replies: 5
Views: 3162

Re: pyb.I2C.SLAVE can't discover.

I2C design to 2-wire, I'm curious how to test when writing this docutment:
http://docs.micropython.org/en/latest/l ... b.I2C.html
;)

What's purpose of pyb.I2C.SLAVE ?
And the pyb.I2C() big different between machine.I2C().
by water
Thu Sep 03, 2020 7:40 am
Forum: Programs, Libraries and Tools
Topic: What's mean 'opt=3' in manifest.py for frozen ?
Replies: 7
Views: 3942

Re: What's mean 'opt=3' in manifest.py for frozen ?

Which language use manifest.py ?