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
If we hard code these values there is an easy 72 bytes to be had back - that is just the PROGMEM storage we get back from killing those large lookup tables. The main reason for them to be so abstracted is to support different chips with different port configurations. If we're pretty much locked into the Atmega32U4 for the foreseeable future these could easily be swapped out for hard-wired constants and that space could be used for more ambitious programs.
Thoughts?
The text was updated successfully, but these errors were encountered:
joshgoebel
changed the title
[Size] Kill portOutputRegister, digitalPinToPort, and digitalPinToBitMask utility functions
[Size] Kill use of portOutputRegister, digitalPinToPort, and digitalPinToBitMask functions
Jun 11, 2015
shogerr
changed the title
[Size] Kill use of portOutputRegister, digitalPinToPort, and digitalPinToBitMask functions
Kill use of portOutputRegister, digitalPinToPort, and digitalPinToBitMask functions
Feb 16, 2016
If we hard code these values there is an easy 72 bytes to be had back - that is just the PROGMEM storage we get back from killing those large lookup tables. The main reason for them to be so abstracted is to support different chips with different port configurations. If we're pretty much locked into the Atmega32U4 for the foreseeable future these could easily be swapped out for hard-wired constants and that space could be used for more ambitious programs.
Thoughts?
The text was updated successfully, but these errors were encountered: