Added copyright comments to serialConnector
This commit is contained in:
2
README.md
Normal file
2
README.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Example Arduino Code For My Serial Communications Protocol
|
||||||
|
|
||||||
@@ -1,6 +1,17 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @file serialConnector.h
|
||||||
|
* @author Lyubomir Penev (me@lpenev.com)
|
||||||
|
* @brief This file contains all the code to send and receive data over the the Arduino's serial port while ensuring complete data integrity
|
||||||
|
* @version 1
|
||||||
|
* @date 2026-01-25
|
||||||
|
*
|
||||||
|
* @copyright Copyright (c) 2026
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
class SerialConnector
|
class SerialConnector
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,16 @@
|
|||||||
#include <serialConnector.h>
|
#include <serialConnector.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @file serialConnector.cpp
|
||||||
|
* @author Lyubomir Penev (me@lpenev.com)
|
||||||
|
* @brief This file contains all the code to send and receive data over the the Arduino's serial port while ensuring complete data integrity
|
||||||
|
* @version 1
|
||||||
|
* @date 2026-01-25
|
||||||
|
*
|
||||||
|
* @copyright Copyright (c) 2026
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
// Main polling loop: read incoming serial frames, validate the check-bit,
|
// Main polling loop: read incoming serial frames, validate the check-bit,
|
||||||
// acknowledge valid messages and dispatch handlers based on the command.
|
// acknowledge valid messages and dispatch handlers based on the command.
|
||||||
void SerialConnector::cycle()
|
void SerialConnector::cycle()
|
||||||
|
|||||||
Reference in New Issue
Block a user