Other Parts Discussed in Thread: ENERGIA,
Hello,
I tried implementing another auxiliary serial using pins p2.1 and p2.0 which falls in UCA0 and are tx and rx pins as read in the datasheet.
I did the changes in pins_energia , hardware serial.h and in hardware serial.cpp in the cores folder.
And when used a code it gives an error: redeclaration of 'ring_buffer* rx_buffer_ptr' and same error continues with tx also so i changed the rx_buffer_ptr to ptr1 then it compiled successfully but the rx and tx did not work at all and i tried serial1 after these changes that worked but not serial2, i need to use serial2 with a wireless device which uses the tx and rx pin to transmit data.
i attached the files please look into it and tell me where iam wrong and what changes need to be done.
Thank you5543.pins_energia.hHardwareSerial.cppHardwareSerial.h