I apologize for a relatively simple question, as I’m sure there might be a simple answer. I have been searching all day but have found nothing that suggests what might be wrong (perhaps a missing library?). I say this so you know I have been diligent in my search for an answer, but I’m at wits end. My sketch below shows Serial1.begin(4800,SERIAL_8E1), which is the format I must use on my serial bus. The compiler is throwing an error,
" Name_of_project.ino: In function ‘void setup()’: error: SERIAL_8E1 was not declared n this scope."
This indicates to me that the serial function does not support this variable or something is missing in the declaration, but what? Thanks in advance for your assistance.
When I use 0x26, the below error message comes up. It's not exactly the same but nonetheless still an error.
Arduino: 1.5.6-r2 (Windows XP), Board: "Arduino Due (Programming Port)"
_2W_B_Smoke_Test.ino: In function 'void setup()':
_2W_B_Smoke_Test:15: error: no matching function for call to 'USARTClass::begin(int, int)'
C:\Program Files\Arduino\hardware\arduino\sam\cores\arduino/USARTClass.h:41: note: candidates are: virtual void USARTClass::begin(uint32_t)
OK. I changed the board type under Tools to Mega just to see what would happen. It compiled with no errors. When I changed it back to Arduino Due (Programming Port), it throws the error. What gives? Does the Due not support this option?