Go Down

Topic: How to read multiple bytes (Read 866 times) previous topic - next topic

Nick Gammon


Osgeld

Code: [Select]
char incoming[15]; // or whatever number of bytes you need to read is

readBytes(incoming,15);


notice how readBytes wont work with a buffer of bytes, it has to be char

boggling


Nick Gammon

It is badly named, isn't it?

Go Up