This commit is contained in:
Thomas von Dein
2020-02-17 19:43:07 +01:00
parent 49500a85b8
commit 9ef5896d67
31 changed files with 1621 additions and 0 deletions

12
85-avr-only-test/analog.h Normal file
View File

@@ -0,0 +1,12 @@
#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