Skip to content

Commit

Permalink
Merge pull request jrowberg#50 from pagalFromAgra/patch-1
Browse files Browse the repository at this point in the history
Update MPUTeapot.pde
  • Loading branch information
jrowberg committed Oct 24, 2013
2 parents e2fa9a6 + f7fd92e commit c87685f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ void serialEvent(Serial port) {
while (port.available() > 0) {
int ch = port.read();
print((char)ch);
if (ch == '$') {serialCount = 0;} // this will help with alignment
if (aligned < 4) {
// make sure we are properly aligned on a 14-byte packet
if (serialCount == 0) {
Expand Down

0 comments on commit c87685f

Please sign in to comment.