Arduboy2/src
Mr.Blinky 88c351619d
optimized drawPixel() and fixed Arduino IDE 1.8.6/1.8.7 issue
The new compiler In Arduino IDE 1.8.6/1.8.7 has an optimization glitch where it fails to see the difference between a data structure in RAM and in PROGMEM when the data is the same and optimizes one out.

drawPixel() is unable to fetch the correct pixel mask from the bitshift_left array in PROGMEM causing junk to be drawn

The bitshift_left[] array has now been optimised out and drawPixel() will function properly. The optimisation uses the same number of cycles and saves 6 bytes

drawPixel() has also been made static so the Arduboy object pointer is no longer needlesly passed on to drawPixel() saving more bytes
2018-11-09 21:10:05 +01:00
..
Arduboy2.cpp optimized drawPixel() and fixed Arduino IDE 1.8.6/1.8.7 issue 2018-11-09 21:10:05 +01:00
Arduboy2.h optimized drawPixel() and fixed Arduino IDE 1.8.6/1.8.7 issue 2018-11-09 21:10:05 +01:00
Arduboy2Audio.cpp Direct control of ports and pins 2017-04-25 15:36:42 -04:00
Arduboy2Audio.h Explicitly specify the type in doxygen code blocks 2018-03-11 05:40:44 -04:00
Arduboy2Beep.cpp Add Beep classes for playing simple tones 2018-03-11 05:40:44 -04:00
Arduboy2Beep.h Explicitly specify the type in doxygen code blocks 2018-03-11 05:40:44 -04:00
Arduboy2Core.cpp Make sure TX and RX LEDs are off in mainNoUSB() 2018-04-07 07:28:15 -04:00
Arduboy2Core.h Add the ability to eliminate the USB stack code 2018-03-11 05:40:44 -04:00
Sprites.cpp Add SpritesB class as alternative to Sprites 2018-03-22 08:11:24 -04:00
Sprites.h Add SpritesB class as alternative to Sprites 2018-03-22 08:11:24 -04:00
SpritesB.cpp Add SpritesB class as alternative to Sprites 2018-03-22 08:11:24 -04:00
SpritesB.h Add SpritesB class as alternative to Sprites 2018-03-22 08:11:24 -04:00
SpritesCommon.h Add SpritesB class as alternative to Sprites 2018-03-22 08:11:24 -04:00
ab_logo.c Add alternative boot logo functions 2017-04-25 15:36:42 -04:00
glcdfont.c Improve embedded Doxygen documentation 2016-11-24 14:51:22 -05:00