arduino-audio-driver
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
etc.h
Go to the documentation of this file.
1 #pragma once
2 
3 #ifdef ARDUINO
4 # include "Arduino.h"
5 #else
6 #undef delay
7 #ifndef HIGH
8 # define HIGH 0x1
9 #endif
10 #ifndef LOW
11 # define LOW 0x0
12 #endif
13 #ifndef INPUT
14 # define INPUT 0x0
15 #endif
16 #ifndef OUTPUT
17 # define OUTPUT 0x1
18 #endif
19 #ifndef INPUT_PULLUP
20 # define INPUT_PULLUP 0x2
21 #endif
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 void pinMode(int, int);
28 void digitalWrite(int, int);
29 void delay(unsigned long);
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 #endif
36 
37 // avoid compile errors outside of Arduino
void pinMode(int, int)
void delay(unsigned long)
void digitalWrite(int, int)