Search found 51 matches

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

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

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

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: 1
Views: 1195

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

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

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

Which language use manifest.py ?
by water
Thu Sep 03, 2020 7:36 am
Forum: Development of MicroPython
Topic: Repeat module in release firmware?
Replies: 3
Views: 621

Repeat module in release firmware?

help('modules') __main__ gc uasyncio/stream upip_utarfile _boot inisetup ubinascii upysh _onewire machine ubluetooth urandom _thread math ucollections ure _uasyncio micropython ucryptolib urequests _webrepl neopixel uctypes uselect apa106 network uerrno usocket btree ntptime uhashlib ussl builtins ...
by water
Thu Sep 03, 2020 6:10 am
Forum: Programs, Libraries and Tools
Topic: What's mean 'opt=3' in manifest.py for frozen ?
Replies: 5
Views: 558

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

Thanks.
It looks like not a python script.
by water
Tue Sep 01, 2020 11:15 pm
Forum: Programs, Libraries and Tools
Topic: What's mean 'opt=3' in manifest.py for frozen ?
Replies: 5
Views: 558

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

In some manifest.py file, likes:

Code: Select all

freeze(
    "..",
    (
        "xx/xxx.py",
        ...
    ),
    opt=3,
)
What's mean

Code: Select all

opt=3
by water
Fri Aug 28, 2020 6:22 pm
Forum: MicroPython pyboard
Topic: pyb.I2C.SLAVE can't discover.
Replies: 5
Views: 717

pyb.I2C.SLAVE can't discover.

I create a I2C slave via:

Code: Select all

i2c = pyb.I2C(1, pyb.I2C.SLAVE, addr = 0x43)
then connect PB6(scl), PB7(sda), GND to other board, but i2c scan result is empty on other board, and I try to connect it to RPi's I2C also.

What step I missing ?