Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
/**
* @file
* C functions to initialize serial comms..
* @author Giacomo Ferrari progman32@gmail.com
*/
#include "Pins.h"
#include <NewSoftSerial.h>
//#include <SoftwareSerial.h>
#define COM1_SPEED 4800
#define GDLOX_SPEED 4800
#define GDLOX_SPEED 4800
NewSoftSerial com_1(LU_IN_COM1_RX, LU_OUT_COM1_TX);
NewSoftSerial com_2(LU_IN_GDLOX_RX, LU_OUT_GDLOX_TX);
void init_comms() {
com_1.begin(COM1_SPEED);
com_2.begin(GDLOX_SPEED);
}
fcd0cbeacThis file is pinned to the selected release. Download the original to open it in your design tool.