EX-Display
EX-Display
Loading...
Searching...
No Matches
Arduino.h File Reference
#include "Stream.h"
#include <cstdarg>
#include <gmock/gmock.h>
#include <stdint.h>
Include dependency graph for Arduino.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MockArduino
 

Macros

#define HIGH   0x1
 Mock Arduino.h to ensure source files requiring this still function.
 
#define LOW   0x0
 
#define INPUT   0x0
 
#define OUTPUT   0x1
 
#define INPUT_PULLUP   0x2
 

Typedefs

typedef uint8_t byte
 

Functions

void pinMode (int pin, int mode)
 
void digitalWrite (int pin, int value)
 
int digitalRead (int pin)
 
void delay (unsigned long ms)
 
unsigned long millis ()
 
void analogWrite (int pin, int value)
 
int analogRead (int pin)
 
void advanceMillis (unsigned long ms)
 

Variables

static unsigned long _currentMillis = 0
 

Macro Definition Documentation

◆ HIGH

#define HIGH   0x1

Mock Arduino.h to ensure source files requiring this still function.

◆ INPUT

#define INPUT   0x0

◆ INPUT_PULLUP

#define INPUT_PULLUP   0x2

◆ LOW

#define LOW   0x0

◆ OUTPUT

#define OUTPUT   0x1

Typedef Documentation

◆ byte

typedef uint8_t byte

Function Documentation

◆ advanceMillis()

void advanceMillis ( unsigned long  ms)
inline
Here is the caller graph for this function:

◆ analogRead()

int analogRead ( int  pin)
inline

◆ analogWrite()

void analogWrite ( int  pin,
int  value 
)
inline

◆ delay()

void delay ( unsigned long  ms)
inline
Here is the caller graph for this function:

◆ digitalRead()

int digitalRead ( int  pin)
inline

◆ digitalWrite()

void digitalWrite ( int  pin,
int  value 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ millis()

unsigned long millis ( )
inline
Here is the caller graph for this function:

◆ pinMode()

void pinMode ( int  pin,
int  mode 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ _currentMillis

unsigned long _currentMillis = 0
static