mirror of
https://codeberg.org/scip/attinycore-makefile-tests.git
synced 2025-12-16 19:00:57 +01:00
13 lines
317 B
C
13 lines
317 B
C
#ifndef ANALOG_H
|
|
#define ANALOG_H
|
|
|
|
/*
|
|
* via http://www.sachsendreier.com/msw/projekte/attiny13_analog_bargraph/atiny13_analog_bargraph.html
|
|
* Alternative: http://www.mikrocontroller.net/articles/AVR-GCC-Tutorial/Analoge_Ein-_und_Ausgabe#Nutzung_des_ADC
|
|
*/
|
|
|
|
#include <avr/io.h>
|
|
|
|
int analogRead(uint8_t pin);
|
|
#endif
|