You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
30 lines
1.1 KiB
**This library is very old and unmaintained.**
|
|
|
|
There may be some good bits worth salvaging, but for new projects I recommend the [avr-c-boilerplate](https://github.com/MightyPork/avr-c-boilerplate) as a base instead. Copy and port good modules from this library if you like.
|
|
|
|
---
|
|
|
|
# "porklib", MightyPork's Arduino Library
|
|
|
|
This library aims to make development for AVR in C easy and fun.
|
|
|
|
Modules of the library provide facilities for pin numbering and aliasing,
|
|
bitwise operations and accessing internal and external peripherals of the AVR.
|
|
|
|
It takes some inspiration from Arduino, but is written in pure C, which makes it faster
|
|
and smaller.
|
|
|
|
Pull requests to add new modules are welcome, please go ahead!
|
|
|
|
## Makefile
|
|
|
|
You can use the provided Makefile to build your project with this library.
|
|
|
|
A project typically consists of one `main.c` file, and some `*_config.c` files where the
|
|
library headers request it (those define eg. IO pin mapping).
|
|
|
|
Adjust the Makefile to your needs!
|
|
|
|
## License
|
|
|
|
The library is provided under MIT license, see the LICENSE file for more info.
|
|
|