mirror of https://github.com/MLXXXp/Arduboy2.git
Suggested and developed by @Pharap The mainNoUSB() function was never intended to be used directly in sketches. To help prevent this, it has been made a private member of a new class, Arduboy2NoUSB, which declares main() as a friend. The ARDUBOY_NO_USB macro has been modified appropriately. The Arduboy2Core class now inherits Arduboy2NoUSB, for sketches that improperly have their own main() which calls the old version of mainNoUSB() instead of using the ARDUBOY_NO_USB macro. |
||
---|---|---|
.. | ||
Arduboy2.cpp | ||
Arduboy2.h | ||
Arduboy2Audio.cpp | ||
Arduboy2Audio.h | ||
Arduboy2Beep.cpp | ||
Arduboy2Beep.h | ||
Arduboy2Core.cpp | ||
Arduboy2Core.h | ||
Arduboy2Data.cpp | ||
Sprites.cpp | ||
Sprites.h | ||
SpritesB.cpp | ||
SpritesB.h | ||
SpritesCommon.h |