Running into some problems with the Arduiono IDE 1.0.5 when trying to compile some code.
If the IDE is set to the Uno R3, it will compile fine, but when set for Pro Micro 5V/16MHz the below error is the result
In function 'void UART_Init(uint32_t)':
and
In function 'void UART_SendByte(uint8_t)':
(There are a few extra lines of errors relating to these, but the above two are the stems of the error).
Seems to relate to the a libraries *.cpp file when it imported into the sketch.
Have tried this with the no program, and just imported the *.cpp file into a blank sketch and get the same errors.
Anyone have a clue?
Note: the Uno R3 has a Atmel Mega 328P, whereas the Pro Micro has Atmel Mega 32u4.
Did read somewhere the void UART.... error could be caused by baud rate, but not really certain on this being the cause and how to change it if that was the case.
Appreciate any suggestions.