Search found 36 matches

by Lobo-T
Tue Aug 16, 2022 7:50 am
Forum: General Discussion and Questions
Topic: CEC protocol support from MicroPython?
Replies: 1
Views: 1401

Re: CEC protocol support from MicroPython?

Is this some sort of stream of consciousness poem?

CEC is like a very slow I2C without clock signal, and the specification seems to be available so should be possible.
But if no one has done it before you will need to read the available documentation and do it yourself.
by Lobo-T
Mon Aug 08, 2022 12:48 pm
Forum: Programs, Libraries and Tools
Topic: Flight simulator controls Micropython
Replies: 8
Views: 5254

Re: Flight simulator controls Micropython

Micropython doesn't really have that great USB support at the moment.
Circuitpython (https://circuitpython.org/) does have a HID library that supports gamepads: https://docs.circuitpython.org/projects ... ad-gamepad
by Lobo-T
Thu Aug 04, 2022 1:32 pm
Forum: General Discussion and Questions
Topic: SSD1306 1.3" OLED (128x64)
Replies: 13
Views: 6130

Re: SSD1306 1.3" OLED (128x64)

I was asking abhi_R2000 what he was actually using.
by Lobo-T
Thu Aug 04, 2022 1:15 pm
Forum: General Discussion and Questions
Topic: SSD1306 1.3" OLED (128x64)
Replies: 13
Views: 6130

Re: SSD1306 1.3" OLED (128x64)

abhi_R2000 wrote:
Thu Aug 04, 2022 1:08 pm
I passed that earlier itself. After passing that 0x3D, I started to get some scattered pixels.
Roberthh wrote:
Thu Aug 04, 2022 12:15 pm
- Are pull-up resistors in place at SDA and SCL?
And the pull-up resistors are what value and placed where?
by Lobo-T
Thu Aug 04, 2022 12:49 pm
Forum: General Discussion and Questions
Topic: SSD1306 1.3" OLED (128x64)
Replies: 13
Views: 6130

Re: SSD1306 1.3" OLED (128x64)

The driver defaults to 0x3c: https://github.com/micropython/micropyt ... 06.py#L113

Pass your address to the driver constructor:

Code: Select all

oled = SSD1306_I2C(WIDTH, HEIGHT, i2c, addr=0x3D)
by Lobo-T
Thu Aug 04, 2022 10:29 am
Forum: General Discussion and Questions
Topic: SSD1306 1.3" OLED (128x64)
Replies: 13
Views: 6130

Re: SSD1306 1.3" OLED (128x64)

Do you get a result from this part?:
print("I2C Address : "+hex(i2c.scan()[0]).upper())
by Lobo-T
Wed Aug 03, 2022 7:22 am
Forum: General Discussion and Questions
Topic: Webrepl
Replies: 2
Views: 1599

Re: Webrepl

by Lobo-T
Mon Aug 01, 2022 12:13 pm
Forum: ESP32 boards
Topic: Detecting and counting pulses while in deep sleep
Replies: 4
Views: 3237

Re: Detecting and counting pulses while in deep sleep

There is an example of using ULP to count pulses here:
https://github.com/espressif/esp-idf/tr ... lp_fsm/ulp

And it might be nice to know that there exists a Micropython ULP compiler:
https://github.com/micropython/micropython-esp32-ulp
by Lobo-T
Fri Jul 29, 2022 12:28 pm
Forum: General Discussion and Questions
Topic: ESP32 Port Tools
Replies: 2
Views: 1855

Re: ESP32 Port Tools

v4.4 should work. If I have understood things correctly this is the file that runs the automatic tests on github: https://github.com/micropython/micropython/blob/master/.github/workflows/ports_esp32.yml This line runs this function which eventually ends up running git -C esp-idf checkout v4.4 here .