On compiling parsing.ino for Flora I have errors.

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
mack6225
 
Posts: 65
Joined: Wed May 09, 2012 6:01 pm

On compiling parsing.ino for Flora I have errors.

Post by mack6225 »

I read the post you made some wile ago and UDR0 in a register is forgotten since I completed my education in 1984. Thank you in advance for your help.

While compiling parsing.ino I have the error: “UDR0’ was not declared in this scope.

Section of code lines 89 to 97 :
// Interrupt is called once a millisecond, looks for any new GPS data, and stores it
SIGNAL(TIMER0_COMPA_vect) {
char c = GPS.read();
// if you want to debug, this is a good time to do it!
if (GPSECHO)
if (c) UDR0 = c;
// writing direct to UDR0 is much much faster than Serial.print
// but only one character can be written at a time.
}

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: On compiling parsing.ino for Flora I have errors.

Post by adafruit_support_bill »

What microprocessor are you compiling for? URDO is the hardware USART data register on an Atmega328.

User avatar
mack6225
 
Posts: 65
Joined: Wed May 09, 2012 6:01 pm

Re: On compiling parsing.ino for Flora I have errors.

Post by mack6225 »

>> What microprocessor are you compiling for?
I hope I understand your question.

This a Flora shipped from adafruit 1 week ago.


Atmega32u4


Thanks for your help.

User avatar
mack6225
 
Posts: 65
Joined: Wed May 09, 2012 6:01 pm

Re: On compiling parsing.ino for Flora I have errors.

Post by mack6225 »

I Read ATmega32u4.pdf page 9 and think I found UDR1 seems to work. Compiles OK and testing now.

User avatar
mack6225
 
Posts: 65
Joined: Wed May 09, 2012 6:01 pm

Re: On compiling parsing.ino for Flora I have errors.

Post by mack6225 »

Yea.. Well...
I must learn to follow the tutorials and depend less on my own personal direction.
Cause when I looked at the tutorial again and followed the guide that all of your team at Adafruit obviously went to great effort to produce this product and the tutorial. Sorry for the posting here and thanks for sending me such quality products and tutorials.

Support Engineer Quote : "If it wasn't for all these end-users, this would be a pretty good job".

User avatar
mack6225
 
Posts: 65
Joined: Wed May 09, 2012 6:01 pm

Re: On compiling parsing.ino for Flora I have errors.

Post by mack6225 »

Yea.. Well...
I must learn to follow the tutorials and depend less on my own personal direction.
Cause when I looked at the tutorial again and followed the guide that all of your team at Adafruit obviously went to great effort to produce this product and the tutorial. Sorry for the posting here and thanks for sending me such quality products and tutorials.

Support Engineer Quote : "If it wasn't for all these end-users, this would be a pretty good job".

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: On compiling parsing.ino for Flora I have errors.

Post by adafruit_support_bill »

>> What microprocessor are you compiling for?
I hope I understand your question.

This a Flora shipped from adafruit 1 week ago.
Sorry, I didn't read the topic title completely.
I Read ATmega32u4.pdf page 9 and think I found UDR1 seems to work. Compiles OK and testing now.
So, is everything working now?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: On compiling parsing.ino for Flora I have errors.

Post by adafruit »

in the gps library, there are flora_ versions of the examples, please use those

User avatar
mack6225
 
Posts: 65
Joined: Wed May 09, 2012 6:01 pm

Additional Questions re; Flora Kit

Post by mack6225 »

I purchased Flora GPS Starter Kit. Everything works great thanks for your help. I don't have any issues, but, I do have some questions. In the product description it reads "some parts to make a wearable remote control (or TV-B-Gone!): NPN transistors, long range IR LEDs, and matching resistors." So, how do I implement "TV-B-Gone" functionality with the included parts?

BTW After I used the correct GPS sketch it compiled and WOW.. WEE fantastic! so I clicked on Monitor; the CR,LF were not enabled, so I saw the first lines of the GPS output. WOW again I was connected immediately! So a hot start took < 1 second to report lat/long and a third WOW because I'm in a four story apartment building first floor facing West.

I can really get wrapped around wearable's.Thanks to Adafruit's High quality crafted kits, tutorials and product engineering support

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: On compiling parsing.ino for Flora I have errors.

Post by adafruit_support_bill »

So, how do I implement "TV-B-Gone" functionality with the included parts?
We don't have a tutorial for that yet. But if you are up for some hacking, the TV-B-Gone tutorial is a good place to start. http://www.ladyada.net/make/tvbgone/
The schematics and source code are all on the Downloads page.

User avatar
mack6225
 
Posts: 65
Joined: Wed May 09, 2012 6:01 pm

Re: On compiling parsing.ino for Flora I have errors.

Post by mack6225 »

Fantastic Thank You

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”