mirror of
https://codeberg.org/scip/attinycore-makefile-tests.git
synced 2025-12-17 03:10:56 +01:00
+tests
This commit is contained in:
16
85-avr-only-test/digital.h
Normal file
16
85-avr-only-test/digital.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef DIGITAL_H
|
||||
#define DIGITAL_H
|
||||
|
||||
#define INPUT 0
|
||||
#define OUTPUT 1
|
||||
#define LOW 0
|
||||
#define HIGH 1
|
||||
|
||||
#include <avr/io.h>
|
||||
|
||||
void pinMode(uint8_t pin, uint8_t mode);
|
||||
void digitalWrite(uint8_t pin, uint8_t val);
|
||||
int digitalRead(uint8_t pin);
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user