• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Oled ssd1306 esp32

Q&A Forum › Category: ESP32 › Oled ssd1306 esp32
0 Vote Up Vote Down
self.raymond asked 6 years ago

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
2 Answers
0 Vote Up Vote Down
self.raymond answered 6 years ago

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

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

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!)

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.