arduino-audio-driver
src
Utils
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
logStr
(
const
char
* msg);
28
#ifndef ARDUINO
29
void
pinMode
(
int
,
int
);
30
void
digitalWrite
(
int
,
int
);
31
void
delay
(
unsigned
long
);
32
#endif
33
34
35
#ifdef __cplusplus
36
}
37
#endif
pinMode
void pinMode(int, int)
delay
void delay(unsigned long)
logStr
void logStr(const char *msg)
Arcuino c++ println function.
Definition:
etc.cpp:5
digitalWrite
void digitalWrite(int, int)
Generated by
1.9.1