9 years, 1 month ago.

how to get console serial output for archv1.1(LPC11U24)?? i m unable to get the drivers for this..

  1. include "mbed.h"

I2C i2c(I2C_SDA, I2C_SCL); const int addr = 0xA0;

int main() { char heart_rate; while (1) { i2c.read(addr, &heart_rate, 1); printf("heart rate: = %d\r\n", heart_rate); } }

how to see the readings of this program??

Be the first to answer this question.