skeetcha / CanSat

0 stars 0 forks source link

In IMU Branch, readByte() not defined #2

Open skeetcha opened 8 years ago

skeetcha commented 8 years ago

Check IMU Branch: https://github.com/theMusicalGamer/CanSat/blob/IMU/canSat.ino#L304

jayx11 commented 8 years ago

define it then i mean hmmmmm i have noooooooooooo idea ill take a gander

jayx11 commented 8 years ago

i mean i found this on the Arudino page, though from looking at it, i think you can just define it by yourself, i'm not entirely sure, nor have the means to test it


/* Serial.readBytes() returns the number of characters placed in the buffer. 
A 0 means no valid data was found.

Serial.readBytes() inherits from the Stream utility class.

Syntax
*/
Serial.readBytes(buffer, length)
/*
Parameters

buffer: the buffer to store the bytes in (char[] or byte[])
length : the number of bytes to read (int)
*/
skeetcha commented 8 years ago

Yeah, that's not it...I checked already. I'll go through the code someday.