void uart_send_byte(const uint8_t byte) { while(!(LPC_UART->LSR & 0x20)); LPC_UART->THR = byte; } |
file load failure.WT:41: Vectors still have ereased values |
float temperature = 1234.56; //melting iron [COLOR=Red]char temperature_string[33];[/COLOR] //recommended string length int main(void) { volatile static int i = 0 ; while(1) { i++ ; itoa((int)(temperature*100),&temperature_string[0],10);//convert with decimals } return 0 ; } |
void UARTSend(uint8_t *BufferPtr, uint32_t Length) |
volatile uint8_t CO2_ReadSeq[8] = {0xFE, 0x04, 0x00, 0x03, 0x00, 0x01, 0xD5, 0xC5}; volatile int CO2_ReadSeq_Lenght = sizeof(CO2_ReadSeq); LPC_UART->IER = IER_THRE | IER_RLS; UARTSend((uint8_t *)CO2_ReadSeq,CO2_ReadSeq_Lenght); LPC_UART->IER = IER_THRE | IER_RLS | IER_RBR; |
UARTSend([COLOR=Red](uint8_t *)CO2_xxx[/COLOR],CO2_xxxx); |
uint8_t CO2_xxx = 0xA0; int CO2_xxxx = sizeof(CO2_xxx); LPC_UART->IER = IER_THRE | IER_RLS; UARTSend((uint8_t *)CO2_xxx,CO2_xxxx); LPC_UART->IER = IER_THRE | IER_RLS | IER_RBR; |
No source available for __sys_seek() at 0x28b6 No source available for "malloc() at 0x28be" |