• 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

Error Library ssd1306

Q&A Forum › Category: ESP32 › Error Library ssd1306
0 Vote Up Vote Down
self.raymond asked 4 years ago

I get this library to work a week ago and now it flags errors  Any Ideas.  Took this right from the esp32 book Micropython
download ok
exec(open(‘ssd1306.py’).read(),globals())
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “<string>”, line 166, in <module>
NameError: name ‘self’ isn’t defined

1 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

Hello, it looks like you didn’t copy the full code to the ssd1306.py file…

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

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

Copyright © 2013-2023 · 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.