Author Topic: $50 robot UART error  (Read 944 times)

0 Members and 1 Guest are viewing this topic.

Offline Alfa_ZuluTopic starter

  • Full Member
  • ***
  • Posts: 92
  • Helpful? 1
$50 robot UART error
« on: July 23, 2010, 02:16:21 AM »
Hey i've just finished the UART tutorial for the $50 robot but I'm having trouble compiling the program

I have followed the tutorial exactly several times but I'm still getting the same 5 errors, I have fixed a few older erros but I'm still stuck with these.
I am trying to output through my UART connection to display data through TTL serial to a 4 digit 7 segment display.
Below i have attached a screen shot of my errors.

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
Re: $50 robot UART error
« Reply #1 on: July 23, 2010, 06:18:51 AM »
It doesn't sound like the uart file is included in the compile. Did you do the #include for the uart file? Also I believe there is a space in the makefile as well for including the uart.

Offline Alfa_ZuluTopic starter

  • Full Member
  • ***
  • Posts: 92
  • Helpful? 1
Re: $50 robot UART error
« Reply #2 on: July 24, 2010, 03:12:50 AM »
ok thanks, sorted that out, now since i didn't know how to send it any data i used the example code from the sparkfun site, i uploaded the code to my 328P which is what's suggested for this code, then when i turned it on the display just seems to flash randomly, it doesn't display anything that actually makes sense lol.

This is the display i'm using
http://www.sparkfun.com/commerce/product_info.php?products_id=9767

the datasheet says that i can send it data in one of 2 ways, either using TTL or SPL serial communication, i'm currently trying to use TTL for just the one wire going to RX but i think the example code is trying to communicate with it via SPL but i'm not real sure if this is the problem and if it is, how to change it.

if anyone knows what the problem could be, I appreciate any help. :)
« Last Edit: July 27, 2010, 12:39:07 AM by Alfa_Zulu »

 

Related Topics

  Subject / Started by Replies Last post
UART error rate?

Started by Admin « 1 2 » Electronics

44 Replies
20942 Views
Last post January 22, 2008, 11:05:33 AM
by dunk
6 Replies
3072 Views
Last post January 03, 2009, 03:06:49 PM
by ed1380
3 Replies
673 Views
Last post June 13, 2012, 05:23:16 PM
by Webbot
4 Replies
440 Views
Last post October 30, 2012, 12:08:45 AM
by napnyl


Get Your Ad Here

data_list