Search found 5 matches
- Mon Mar 25, 2024 3:52 pm
- Forum: MicroPython pyboard
- Topic: ssd1306 OSError: I2C operation not supported
- Replies: 5
- Views: 8092
Re: ssd1306 OSError: I2C operation not supported
I2C was right, don't use pyb. The real reason for the error is confusing softI2C with hardware I2C. When you specify an I2C number (which i2c controller to use), then you are implicitly specifying it should be hardware i2c. In that case, the start/stop function's don't exist because they don't make ...
- Tue Jan 04, 2022 8:40 pm
- Forum: Programs, Libraries and Tools
- Topic: Pyreadline incompatible with Python 3.10 - breaks rshell on Windows 10
- Replies: 2
- Views: 9793
- Wed Dec 15, 2021 9:41 pm
- Forum: Programs, Libraries and Tools
- Topic: Non-blocking WiFi connection
- Replies: 5
- Views: 15761
Re: Non-blocking WiFi connection
you can also use a timer. then place "isconnected()" in the timer callback function. I created a software timer so I don't consume hardware ones everytime I have a function that has to wait for some operation.
- Fri Dec 10, 2021 10:37 pm
- Forum: ESP32 boards
- Topic: TouchPad ValueError
- Replies: 1
- Views: 1788
TouchPad ValueError
I'm running the following code to test TouchPad functionality: from machine import TouchPad,Pin from time import sleep touchPins=[0, 2, 4, 12, 13,14, 15, 27, 32, 33] t=[] for pin in touchPins: t.append(TouchPad(Pin(pin))) while True: for i in t: try: print(i.read()) except Exception as e: print(type...
- Sat Oct 30, 2021 12:45 pm
- Forum: General Discussion and Questions
- Topic: Multiprocessing / multithreading
- Replies: 8
- Views: 16792
Re: Multiprocessing / multithreading
micropython-lib supports multiprocessing (see unix-ffi)