forked from tenbaht/sduino
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSerial.h
More file actions
32 lines (24 loc) · 775 Bytes
/
Serial.h
File metadata and controls
32 lines (24 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef _SERIAL_H_
#define _SERIAL_H_
/*
* not more than a convininience module to smoothen the transition from
* real Arduino to sduino syntax for existing sketches.
*
* All it does is to include HardwareSerial.h, so it doesn't matter if you
* include HardwareSerial or Serial into your code.
*
*/
#include <Arduino.h>
#include <HardwareSerial.h>
#include <Print.h>
// Public Methods //////////////////////////////////////////////////////////////
// Alias Definitions for a more Arduino-like look ////////////////////////////
/*
* all empty.
*
* so far, the alias definitions are done in HardwareSerial and not here.
* This file is supposed to be a kind of intermediate switch to choose the
* serial module depending on the configured CPU.
*
*/
#endif