SAML21, Decrease frequency UART transmission

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Greetings!

 

 

I need to blink a LED through the UART port (blink depending on the byte transmitted). I've already achieved the transmission and the byte is being sent successfully. However, the frequency is too high to be able to identify the blink. I'm using the micro SAML21 and I do not know what exactly I should modify to see the LED blinking. 

 

 

Thanks in advance! 

Last Edited: Fri. Jul 30, 2021 - 03:29 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Do you really think anyone here can help without knowing what the code looks like? I doubt it.

/Lars

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

separate from the questionable purpose of doing it, you have to permanently send 0xFF or 0x00.
But as there is a startbit and a stopbit, you never get the LED fully on or off.

Surprise: As soon as one's doing it correctly - it works!