27 digitalWrite(
WRLED, HIGH);
30 digitalWrite(
WRLED, LOW);
54 void init(uint16_t _baudrate){
55 pinMode(
WRLED, OUTPUT);
57 Serial.begin(_baudrate);
This file defines cardinal and relative directions enumerations.
This file defines the WindRose's Serial State Machine Control class SSMachine.
This file defines the WindRose's Multiplexer Control class WRMux.
#define WRLED
defines the LED pin
Definition: WindRose.h:18
The class to control the LED.
Definition: WindRose.h:24
The class to control the Serial State Machine.
Definition: SSMachine.h:24
void setSerial(Stream *stmObject)
Initializes the Serial State Machine by setting its internal Stream object to a pointer to the Serial...
Definition: SSMachine.h:38
The class to control the WindRose Board (the body).
Definition: WindRose.h:43
void init(uint16_t _baudrate)
Initializes the board by starting the LED, the Mux, the Serial Hardware, and the State Machine.
Definition: WindRose.h:54
LEDControl led
The WindRose's LED control from the class LEDControl.
Definition: WindRose.h:51
WRMux mux
The WindRose's Multiplexer Control from the class WRMux.
Definition: WindRose.h:49
SSMachine ssm
The WindRose's Serial State Machine from the class SSMachine.
Definition: WindRose.h:47
The class for the WindRose Multiplexer Control.
Definition: WRMux.h:21
void init()
Initializes the WRMux class by seting the control pins as OUTPUT.
Definition: WRMux.h:39