21#include "api/Common.h"
120 unsigned long timeout = 1000000L) = 0;
130 unsigned long timeout = 1000000L) = 0;
Abstract base class for GPIO (General Purpose Input/Output) functions.
Definition HardwareGPIO.h:51
virtual void analogWriteFrequency(pin_size_t pin, uint32_t freq)=0
Set the PWM frequency for analogWrite() on the specified pin.
virtual void analogReference(uint8_t mode)=0
Configure the reference voltage used for analog input.
virtual PinStatus digitalRead(pin_size_t pinNumber)=0
Read the value from a specified digital pin.
virtual void analogWriteResolution(uint8_t bits)=0
Set the resolution of the analogWrite() values.
virtual void noTone(uint8_t _pin)=0
Stop the generation of a square wave triggered by tone()
virtual void analogWrite(pin_size_t pinNumber, int value)=0
Write an analog value (PWM wave) to a pin.
virtual unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout=1000000L)=0
Read a pulse (HIGH or LOW) on a pin.
virtual void pinMode(pin_size_t pinNumber, PinMode pinMode)=0
Configure the specified pin to behave as an input or output.
virtual void tone(uint8_t _pin, unsigned int frequency, unsigned long duration=0)=0
Generate a square wave of the specified frequency on a pin.
virtual int analogRead(pin_size_t pinNumber)=0
Read the value from the specified analog pin.
virtual unsigned long pulseInLong(uint8_t pin, uint8_t state, unsigned long timeout=1000000L)=0
Alternative to pulseIn() which is better at handling long pulses.
virtual void digitalWrite(pin_size_t pinNumber, PinStatus status)=0
Write a HIGH or LOW value to a digital pin.
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31