Author Topic: avr printf()  (Read 6927 times)

0 Members and 1 Guest are viewing this topic.

Offline tristantechTopic starter

  • Jr. Member
  • **
  • Posts: 34
  • Helpful? 0
    • TristanTech
avr printf()
« on: May 02, 2009, 02:14:53 PM »
I have an AVR microcontroller i'm using in a project and I want to send data to the PC. I know how to use the UARTS, but in people's source code, I often see the printf() function in c used to output data. How do you configure this c function to send the data out the port?
Hey! Visit my website @ http://www.tristantech.net

Offline frank26080115

  • Supreme Robot
  • *****
  • Posts: 322
  • Helpful? 2
Re: avr printf()
« Reply #1 on: May 02, 2009, 02:32:11 PM »
http://www.nongnu.org/avr-libc/user-manual/group__avr__stdio.html

look for the example on that page
learn to love the avr-libc user manual

 


Get Your Ad Here

data_list