Author Topic: Uart0Receive vs UartReceive with RaiseEvent  (Read 69 times)

mc-John

  • Global Moderator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: Uart0Receive vs UartReceive with RaiseEvent
« on: April 06, 2017, 11:07:47 am »
The processor has only one serial port and if it is used for debugging it cannot be used to connect something else. If you use wireless debugging you can use the serial port. The serial port can be connected to every pin. With the function UART(baudrate, txPin, rxPin) you just connect the TX and RX pin to UART peripheral.
Have a look at the example in the manual Chapter UART (12.2)