mirror of
https://codeberg.org/scip/attinycore-makefile-tests.git
synced 2025-12-17 19:20:57 +01:00
+tests
This commit is contained in:
12
85-avr-only-test/analog.h
Normal file
12
85-avr-only-test/analog.h
Normal 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
|
||||
Reference in New Issue
Block a user