Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 12 months ago.
xbee with nucleo F042K6 serial connection
how to write a code on mbed so that the xbee can communicate with another xbee? one xbee is wired up with the nucleo F042K6.
this was my previous practise,
Serial pc(SERIAL_TX, SERIAL_RX); Serial xbee(PB_7, PB_6);
DigitalOut myled(LED1);
int main() { int i = 1; pc.printf("Hello World !\n"); while(1) { wait(1); pc.printf("This program runs since %d seconds.\n", i++); myled = !myled;
xbee.send
.now i want to send it to another computer which i dont knw how. previously i did it with 2 usb xbee on XCTU. but now my i want to send it from the mbed microcontroller wired with one xbee to another usb xbee on another computer.