getchar for uart1??

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

Hey,

As I saw in CodeVisionAVR help, there is function getchar(). This function returns a character received by the UART, using polling on UART0.

How can I receive character also using poling on UART1?

Thnaks ahead.

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

Wrong forum - this one is for GCC - so moving to the main AVR Forum.

Moderator

PS I do know that the answer is in the CV user manual ;-)

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

Look at the example 2USART_LCD. In my computer it lives in the default folder C:\cvavreval\examples\2USART_LCD

Also there is a CV list you can subscribe to provided you don't use cracked software or you will be shot.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

what is "CV"?

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

CodeVision

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly