Page 344 - ARM Based Microcontroller Projects Using MBED
P. 344

330                               13. UART PROJECTS

                 This program reads the temperature data using UART6 again at 9600 baud. Function receiver.
                 scanf is used to read the data from the UART. The received data is displayed on the PC mon-
                 itor connected to the Receiver Node using function pc.printf.
                   A typical display from the Receiver Node is shown in Fig. 13.8.





























































                 FIG. 13.6  Sender Node program listing.
                                                                                          (Continued)
   339   340   341   342   343   344   345   346   347   348   349