-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# ArduinoShrink | ||
This library replaces Arduino AVR Core functions with smaller and faster versions, with the same functionality. The ATmega168 and 328 MCUs are supported at both 8MHz and 16Mhz. | ||
The Arduino Blink example sketch built for the Uno takes 924 bytes of flash, but only needs 286 bytes with ArduinoShrink. | ||
This library replaces Arduino AVR Core functions with smaller and faster versions, with the same or better functionality. It is designed for the ATmega168 and 328 MCUs at 4 to 16 MHZ, though only 8MHz and 16Mhz are regularly tested. | ||
The Arduino Blink example sketch built for the Uno takes 924 bytes of flash, but only needs 192 bytes with ArduinoShrink. | ||
|
||
## Usage | ||
Download [a release](https://github.com/nerdralph/ArduinoShrink/releases), and extract the files into your Arduino/libraries folder. Select ArduinoShrink from the Sketch, Include Library menu. This will replace several Arduino functions with smaller and faster versions. The Arduino pin number must be known at compile time if you are using this library. | ||
|
||
## Planned Improvements | ||
Update digitalWrite() to work when the pin is not known at compile time. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ paragraph= | |
url= | ||
architectures=avr | ||
dot_a_linkage=true | ||
includes=ArduinoShrink.h |