Myserial Library extends RawSerial
Revision 2:dfdf4b10a290, committed 2014-06-22
- Comitter:
- naao
- Date:
- Sun Jun 22 08:54:01 2014 +0000
- Parent:
- 1:e2cfd512c977
- Child:
- 3:e4c443ce0fbe
- Commit message:
- changed refference code
Changed in this revision
MySerial.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MySerial.h Sun Jun 22 08:45:14 2014 +0000 +++ b/MySerial.h Sun Jun 22 08:54:01 2014 +0000 @@ -26,8 +26,8 @@ * * void readbuf() * { - * // int iRtn = pc->GetString(6,pCword); //Serial received chars by pointer cWord - * int iRtn = pc->GetString((char)6,cWord); //Serial received chars byref of cWord + * // int iRtn = pc.GetString(6,pCword); //Serial received chars by pointer cWord + * int iRtn = pc.GetString((char)6,cWord); //Serial received chars byref of cWord * } * int main() { * pc.attach( readbuf, MySerial::RxIrq ); //Set Interrupt by Serial receive