I am trying to used two ssd1306 with two different address. I have one working but having trouble with the second. The first one has an address of 60 and the second one address is 61.
Start your code here
i2c = I2C(-1, scl=Pin(22), sda=Pin(21))
address = 60
oled_width = 128
oled_height = 64
oled = ssd1306.SSD1306_I2C(oled_width, oled_height, i2c)
def oled1():
i2c = I2C(-1, scl=Pin(22), sda=Pin(21))
address = 61
oled1_width = 128
oled1_height = 64
oled1 = ssd1306.SSD1306_I2C(oled1_width, oled1_height, i2c)
Maybe can get a little help
RAy
Micro-python is not user friendly to Hobbyist that just want to learn how to write some codes. The lessons you need to teach is how to write libraries for sensors and different displays. The core of the user of Micro-python must be season code writers to write library for there devices so they will work on the esp8266 and the esp32. It does look the support for the Raspberry pi is a lot better than the esp devices.
Now I do know my expertise is not in micro-controllers. I am just retired mechanical engineer trying to learn how to program these little devices. When you do a project in Arduino and try to take that to Micro-Python you do run into a lot of road blocks
I do think you guys courses are very good. But I must say since the support for Micro Python is limited maybe you should offer a course on taking a datasheet and making a workable library for Micro Python. Now that course I would pay for.
Good luck to you guys and keep the courses coming.
Ray
Hello Ray, thank you for the suggestion and I’m sorry to hear that.
Unfortunately that goes beyond our control (creating the MicroPython documentation). We also create projects on more basic topics and building specific projects, but we’re considering creating more advanced courses.
I really appreciate your feedback. (Sorry for taking so long to get back to you, but I was without internet for the last couple of days during a trip. I’m finally back!)