You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am pretty new to Arduino and ESP32 programming and I am sorry for asking stupid questions (I guess 😄 ).
I am working with a custom board (sensebox_mcu_esp32s2) and evaluating what initVariant() in variant.cpp could be useful for?
Is there any documentation what could be done in initVariant? Or are there examples what others are using it for? Of course I looked through all board variants and checked out the variant.cpp files and most of the times it is used for powering on / off pins.
Would it be possible to switch on and off an on-board LED with a delay within initVariant() or check if a button was pushed?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am pretty new to Arduino and ESP32 programming and I am sorry for asking stupid questions (I guess 😄 ).
I am working with a custom board (
sensebox_mcu_esp32s2
) and evaluating whatinitVariant()
invariant.cpp
could be useful for?Is there any documentation what could be done in
initVariant
? Or are there examples what others are using it for? Of course I looked through all board variants and checked out thevariant.cpp
files and most of the times it is used for powering on / off pins.Would it be possible to switch on and off an on-board LED with a delay within
initVariant()
or check if a button was pushed?Beta Was this translation helpful? Give feedback.
All reactions