|
1 | 1 | /*******************************************************************************
|
2 |
| -* ArduinoRobotEasyTransfer library modified by Julian Sanin, |
3 |
| -* backported from: |
| 2 | +* IntegerEasyTransfer 1.0.0 library modified by Julian Sanin, sourced from: |
4 | 3 | *
|
5 | 4 | * EasyTransfer Arduino Library v2.1
|
6 |
| -* details and example sketch: |
7 |
| -* http://www.billporter.info/easytransfer-arduino-library/ |
| 5 | +* details and example sketch: |
| 6 | +* http://www.billporter.info/easytransfer-arduino-library/ |
8 | 7 | *
|
9 |
| -* Brought to you by: |
| 8 | +* Brought to you by: |
10 | 9 | * Bill Porter
|
11 | 10 | * www.billporter.info
|
12 | 11 | *
|
13 |
| -* Major props to Mathieu Alorent (kumy) for |
14 |
| -* I2C version and the pretty pictures. |
| 12 | +* Major props to Mathieu Alorent (kumy) for |
| 13 | +* I2C version and the pretty pictures. |
15 | 14 | *
|
16 | 15 | *
|
17 | 16 | * Lib version history
|
18 |
| -* 1.0 Created |
19 |
| -* 1.1 Fixed dumb Copy-paste error in header file |
20 |
| -* Added a keyword file |
21 |
| -* 1.5 Forked lib into Software and Hardware Serial branches, I don't know a |
| 17 | +* 1.0 Created |
| 18 | +* 1.1 Fixed dumb Copy-paste error in header file |
| 19 | +* Added a keyword file |
| 20 | +* 1.5 Forked lib into Software and Hardware Serial branches, I don't know a |
22 | 21 | * better way added passing in of Serial port of different types
|
23 |
| -* 1.6 Fixed bug where it wasn't clearing out the buffers if the CheckSum |
| 22 | +* 1.6 Fixed bug where it wasn't clearing out the buffers if the CheckSum |
24 | 23 | * failed, I'm good at dumb mistakes
|
25 |
| -* 1.7 Fixed a bug where the receive function could block for too long and |
| 24 | +* 1.7 Fixed a bug where the receive function could block for too long and |
26 | 25 | * never process data correctly
|
27 |
| -* Organized the examples to be Arduino IDE compatible |
28 |
| -* 1.8 |
29 |
| -* Now Arduino 1.0 compatible! |
| 26 | +* Organized the examples to be Arduino IDE compatible |
| 27 | +* 1.8 |
| 28 | +* Now Arduino 1.0 compatible! |
30 | 29 | * 1.81
|
31 |
| -* Made it more cross compatible. Man, They really made us work for this |
| 30 | +* Made it more cross compatible. Man, They really made us work for this |
32 | 31 | * one.
|
33 | 32 | * 2.0
|
34 | 33 | * Combined SoftEasyTransfer with the other two to make everything one
|
|
38 | 37 | * 2.0.1
|
39 | 38 | * VirtualWire version tested by garth@netram, bugs fixed.
|
40 | 39 | * 2.1
|
41 |
| -* Changes RX parsing buffer to dynamic allocation to conserve RAM. |
42 |
| -* 3.0.0 |
43 |
| -* Imported EasyTransfer library as ArduinoRobotEasyTransfer. |
44 |
| -* Backported ArduinoRobot modifications. |
| 40 | +* Changes RX parsing buffer to dynamic allocation to conserve RAM. |
| 41 | +* 1.0.0 |
| 42 | +* Imported EasyTransfer library as IntegerEasyTransfer. |
| 43 | +* Backported ArduinoRobot modifications and restarted version numbering. |
| 44 | +* The library supports a maximum of 20 uint8_t or 10 int16_t values. |
| 45 | +* Mixed uint8_t and int16_t are allowed but care should be taken that the |
| 46 | +* values do not overflow the data buffer. |
45 | 47 | *
|
46 | 48 | *
|
47 | 49 | * Limits of the Library
|
48 |
| -* You can change the Serial port, |
49 |
| -* but the Struct size must not pass 255 bytes |
50 |
| -* VirtualWire Version Struct can'e be bigger then 26 bytes |
| 50 | +* You can change the Serial port, |
| 51 | +* but the Struct size must not pass 255 bytes |
| 52 | +* VirtualWire Version Struct can'e be bigger then 26 bytes |
51 | 53 | *
|
52 | 54 | * The protcol is as follows:
|
53 |
| -* Header(0x06,0x85),SizeofPayload,Payload,Checksum |
54 |
| -* |
55 |
| -* |
| 55 | +* Header(0x06,0x85),SizeofPayload,Payload,Checksum |
| 56 | +* |
| 57 | +* |
56 | 58 | * This program is free software: you can redistribute it and/or modify it under
|
57 | 59 | * the terms of the GNU General Public License as published by the Free Software
|
58 | 60 | * Foundation, either version 3 of the License, or(at your option) any later
|
|
0 commit comments