arduino-audio-driver
etc.h
Go to the documentation of this file.
1 #pragma once
2 
3 #ifdef ARDUINO
4 # include "Arduino.h"
5 #else
6 #ifndef HIGH
7 # define HIGH 0x1
8 #endif
9 #ifndef LOW
10 # define LOW 0x0
11 #endif
12 #ifndef INPUT
13 # define INPUT 0x0
14 #endif
15 #ifndef OUTPUT
16 # define OUTPUT 0x1
17 #endif
18 #ifndef INPUT_PULLUP
19 # define INPUT_PULLUP 0x2
20 #endif
21 #endif
22 
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 void audioDriverLogStr(const char* msg);
28 void setAudioDriverLogOutput(void *out);
29 #ifndef ARDUINO
30 void pinMode(int, int);
31 void digitalWrite(int, int);
32 void delay(unsigned long);
33 #endif
34 
35 
36 #ifdef __cplusplus
37 }
38 #endif
void audioDriverLogStr(const char *msg)
Arcuino c++ println function.
Definition: etc.cpp:7
void pinMode(int, int)
void setAudioDriverLogOutput(void *out)
Definition: etc.cpp:11
void delay(unsigned long)
void digitalWrite(int, int)