![]() ![]() take note that sizeof() is a precompile command. serialComms.cpp:27: error: expected primary-expression before ']' token serialComms.cpp: In member function 'void serialComms::updateUser(char*)': serialComms.cpp:28: error: invalid conversion from 'char*' to 'const uint8_t*' serialComms.cpp:28: error: initializing argument 1 of 'virtual size_t Print::write(const uint8_t*, size_t)'. It is called SoftwareSerial.h and is included with the latest Arduino IDE. Luckily, there is a very easy to use library to implement software serial connections. If more serial connections are needed, you must implement these in software. Void serialComms::readAllBytes() // Target Pin,Values The Arduino Uno (ATmega328) has a single hardware serial connection. This is where the constructor would be.right now we are too stupid to have one I am trying to write a library that reads 5 variables, then sends them through the serial port to a bluetooth reciever, I am getting a number of errors and I am not sure where to go from here, do I need to implement pointers?
0 Comments
Leave a Reply. |