Search found 2758 matches

by Roberthh
Thu Jul 15, 2021 7:29 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 76
Views: 19490

Re: Teensy 4.0 & 4.1

File changed now to display the changed frequency.
by Roberthh
Thu Jul 15, 2021 7:24 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 76
Views: 19490

Re: Teensy 4.0 & 4.1

That might be just the display, where the change has not be noted back to the config. Did you look at the bus?
by Roberthh
Thu Jul 15, 2021 4:46 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 76
Views: 19490

Re: Teensy 4.0 & 4.1

Just for a test, I made a version of mimxrt/machine_i2c.c, which supports the init() method with the keywords freq and drive . You 'll find it here: https://github.com/robert-hh/micropython/tree/mimxrt_i2c_init. You can simply copy over the file mimxrt/machine_i2c.c for testing. Generally I would sa...
by Roberthh
Thu Jul 15, 2021 3:25 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 76
Views: 19490

Re: Teensy 4.0 & 4.1

Both Hardware and Software I2c share the same dictionary. The hardware i2c has no init() method, that's why you get that message. You can simply instantiate the I2c again for a frequency change. That is not an expensive operation. I was thinking of implementing a separate init() method, but followed...
by Roberthh
Thu Jul 15, 2021 5:32 am
Forum: ESP32 boards
Topic: Deep Sleep amps too high?
Replies: 3
Views: 129

Re: Deep Sleep amps too high?

Do you use the bare ESP32 or a board with it? The USB/UART bridge chips are not put to deep sleep and can consume up to 20mA.
by Roberthh
Tue Jul 13, 2021 9:09 am
Forum: ESP32 boards
Topic: Micropython on ESP32-C3
Replies: 16
Views: 1465

Re: Micropython on ESP32-C3

Did you try:

make BOARD=GENERIC_C3
by Roberthh
Mon Jul 12, 2021 7:44 pm
Forum: Raspberry Pi microcontroller boards
Topic: Help needed getting MicroPython Driver for SSH1106 working
Replies: 3
Views: 120

Re: Help needed getting MicroPython Driver for SSH1106 working

I cannot tell you much about Thonny ad the way to transfer files to the board. But the Author of Thonny will surely answer that part. He is a regular visitor of this board. As the co-author of the sh1106 driver I can answer that part. Both the sh1106.py and the readme.md file have short code example...
by Roberthh
Sun Jul 11, 2021 4:06 pm
Forum: Raspberry Pi microcontroller boards
Topic: AttributeError: 'RTC' object has no attribute 'init' WARNING: Could not sync device's clock: 'RTC' object has no attribu
Replies: 5
Views: 177

Re: AttributeError: 'RTC' object has no attribute 'init' WARNING: Could not sync device's clock: 'RTC' object has no att

You use rtc.datetime(datetime_tuple) to set date / time, and rtc.datetime() git get date & time.
Somewhere in your code is a call to rtc.init() which you should remove.
by Roberthh
Sun Jul 11, 2021 3:27 pm
Forum: Raspberry Pi microcontroller boards
Topic: AttributeError: 'RTC' object has no attribute 'init' WARNING: Could not sync device's clock: 'RTC' object has no attribu
Replies: 5
Views: 177

Re: AttributeError: 'RTC' object has no attribute 'init' WARNING: Could not sync device's clock: 'RTC' object has no att

use rtc.datetime(datetime_tuple) instead, like:

rtc.datetime((21,07,11,0, 17,26,0, 0))

note that the datetime tuple requires 8 entries.
by Roberthh
Fri Jul 09, 2021 6:55 pm
Forum: Raspberry Pi microcontroller boards
Topic: Arduino Nano RP2040 Connect - python support?
Replies: 1
Views: 153

Re: Arduino Nano RP2040 Connect - python support?

There is not specifically adapted version yet for that board. But you should be able to run the sparkfun pro firmware, even if that will not support WiFi. The rp2-Pico version should work too, but that one will only uses 2MB of the flash. But for first steps that's ok. To get into Download mode, you...