• 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 3 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 3 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] Firebase Web App with ESP32 and ESP8266 (version 1.2) April 25, 2022
  • [eBook Updated] MicroPython Programming with ESP32 and ESP8266 (version 1.3) February 7, 2022

You must be logged in to view this content.

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

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