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

Sigfox16

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Uart0Receive vs UartReceive with RaiseEvent
« on: April 10, 2017, 09:36:44 am »
Thanks for the reply. 

On the McDemo205 there are 2 pins labeled TXD, and RXD.

Q: How do I use map these pins to the Physical UART?

Entering the below generates an error: TXD is not a shared member

Shared Event Boot
     ser = Uart.Create(9600, Pin.TXD, Pin.RXD)
End Event

OR 
    ser=Uart.Create(9600, TXD, RXD)


Returns "variable undeclared."  (How would RXD/TXD be declared mapped  to a pin identity?)

Thanks again, DB