PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

README.txt 2.7KB

il y a 3 ans
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /******************************************************************
  2. * EasyTransfer Arduino Library v1.7
  3. * details and example sketch:
  4. * http://www.billporter.info/easytransfer-arduino-library/
  5. *
  6. * Brought to you by:
  7. * Bill Porter
  8. * www.billporter.info
  9. *
  10. * Lib version history
  11. * 1.0 Created
  12. * 1.1 Fixed dumb Copy-paste error in header file
  13. * Added a keyword file
  14. * 1.5 Forked lib into Software and Hardware Serial branches, I don't know a better way
  15. * added passing in of Serial port of different types
  16. * 1.6 Fixed bug where it wasn't clearing out the buffers if the CheckSum failed,
  17. * I'm good at dumb mistakes
  18. * 1.7 Fixed a bug where the receive function could block for too long and never process data correctly
  19. * Organized the examples to be Arduino IDE compatible
  20. * 1.8
  21. * Now Arduino 1.0 compatible!
  22. *
  23. *
  24. * Limits of the Library
  25. * You can change the Serial port,
  26. * but the Struct size must not pass 255 bytes
  27. *
  28. * The protcol is as follows:
  29. * Header(0x06,0x85),SizeofPayload,Payload,Checksum
  30. *
  31. *
  32. *This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or(at your option) any later version.
  33. This program is distributed in the hope that it will be useful,
  34. but WITHOUT ANY WARRANTY; without even the implied warranty of
  35. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  36. GNU General Public License for more details.
  37. <http://www.gnu.org/licenses/>
  38. *
  39. *This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
  40. *To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or
  41. *send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
  42. ******************************************************************/
  43. ********************To Install*************************************
  44. To install, unzip and place 'EasyTransfer' folder into your 'C:\Users\{user name}\Documents\Arduino\libraries' folder or '{Arduino IDE path}\hardware\libraries" or {Arduino IDE path}\libraries" directory.
  45. Restart the Arduino IDE, look for the Library under "Sketch" -> "Import Library". You can also try the examples by finding them
  46. under "File" -> "Examples" -> "EasyTransfer".
  47. All uses of the library are in the example sketchs.
  48. *******************************************************************
  49. Library now has two versions, one for regular hardware Serial, one for use with the NewSoftSerial library
  50. making any Arduino pin capable of transfering data back and forth easily.
  51. See the examples to find out how to use the library.