https://github.com/koehlma/neatavr
an experimental library for AVR microchips exploiting C++ meta programming
https://github.com/koehlma/neatavr
Last synced: 2 months ago
JSON representation
an experimental library for AVR microchips exploiting C++ meta programming
- Host: GitHub
- URL: https://github.com/koehlma/neatavr
- Owner: koehlma
- Created: 2016-07-09T13:53:52.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-18T14:49:18.000Z (almost 9 years ago)
- Last Synced: 2025-02-14T05:43:56.640Z (4 months ago)
- Language: C++
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
NeatAVR
=======
NeatAVR is an experimental library for AVR microchips based on C++ meta programming.Example
-------.. code:: javascript
#define F_CPU 8000000UL
#include "neatavr.hpp"
#include "neatavr/serial.hpp"
#include
using namespace NeatAVR;
typedef Arduino13 LED;
int main() {
Serial::init();Serial::printline("Hello World!");
LED::output();
System::enable_interrupts();
while (1) {
_delay_ms(500);LED::toggle()
}
}