Search found 2 matches

by winneymj13
Wed Apr 06, 2022 10:03 pm
Forum: General Discussion and Questions
Topic: AttributeError: 'function' object has no attribute '__name__
Replies: 3
Views: 3648

AttributeError: 'function' object has no attribute '__name__

Hi, I am running micropython on my ESP32_S2 Saola board and I am trying determine the name of a function passed as a parameter to another function (to be used as a callback). Produces error: AttributeError: 'function' object has no attribute '__name__' How do I retrieve the name of the function pass...
by winneymj13
Sat Nov 10, 2018 2:44 am
Forum: Other Boards
Topic: SAMD21 board..slow SPI?
Replies: 1
Views: 2444

SAMD21 board..slow SPI?

Hi, I have been writing a driver for the SH1106 Driver based OLED display and it is running extremely slow (about 2 frames per second). The SH1106 display uses paging which means I cannot write all the bytes via SPI in a single byte stream. I have set up the SPI seen below. Although it could be my c...