porklib: Simple library for programming Arduino in C
Ondřej Hruška 94bd7b5283 Create README.md 3 years ago
examples update docs to indicate that SIPO works also for 595 5 years ago
lib update docs to indicate that SIPO works also for 595 5 years ago
lib_tests source import 5 years ago
.gitignore improved a makefile 5 years ago
LICENSE Initial commit 5 years ago
Makefile.example Improved examples 5 years ago
README.md Create README.md 3 years ago


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 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!


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!


The library is provided under MIT license, see the LICENSE file for more info.