Skip to content

Commit

Permalink
Merge pull request #1 from per1234/arduino-ide-compatibility
Browse files Browse the repository at this point in the history
Improve Compatibility with the Arduino IDE
  • Loading branch information
eric-wieser committed Dec 17, 2019
2 parents bb8387b + 218cb8a commit 9e72b85
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/packetio_streaming/packetio_streaming.ino
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <Arduino.h>
#include <packet_interfaces.h>
#include <cobs/Stream.h>
#include <cobs/Print.h>
using namespace packetio;
Expand All @@ -7,7 +8,7 @@ COBSPrint cobs_out(Serial);
COBSStream cobs_in(Serial);

void setup() {
Serial.begin();
Serial.begin(9600);
}

void loop() {
Expand Down
10 changes: 10 additions & 0 deletions library.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name=PacketIO
version=0.3.0
author=Eric Wieser
maintainer=Eric Wieser
sentence=Packetizing wrapper for arduino Streams.
paragraph=For framing packets sent or received over an arduino Stream, such as Serial.
category=Communication
url=https://github.com/eric-wieser/packet-io
architectures=*
includes=packet_interfaces.h

0 comments on commit 9e72b85

Please sign in to comment.