Search found 1 match
- Mon Mar 07, 2022 9:35 pm
- Forum: General Discussion
- Topic: Pass argument from epprom to a class constructor
- Replies: 1
- Views: 1730
Pass argument from epprom to a class constructor
Helow, i´m using the simplified subsequent code to initate a NeoPixel Strip in a ESP32 on arduino framework //creates the class "strip" at the begin code NeoPixelBus<NeoGrbFeature, Neo800KbpsMethod> strip(EEPROM.read(MNPIXEL), PinNeoPixel); .... void setup () { EEPROM.begin (); strip.Begin (); } voi...