On compiling parsing.ino for Flora I have errors.
Moderators: adafruit_support_bill, adafruit

On compiling parsing.ino for Flora I have errors.

by mack6225 on Mon Dec 10, 2012 8:26 pm

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.
}

mack6225
 
Posts: 24
Joined: Wed May 09, 2012 6:01 pm

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

by adafruit_support_bill on Tue Dec 11, 2012 7:16 am

What microprocessor are you compiling for? URDO is the hardware USART data register on an Atmega328.
User avatar
adafruit_support_bill
 
Posts: 31846
Joined: Sat Feb 07, 2009 10:11 am

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

by mack6225 on Tue Dec 11, 2012 5:44 pm

>> 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.

mack6225
 
Posts: 24
Joined: Wed May 09, 2012 6:01 pm

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

by mack6225 on Tue Dec 11, 2012 6:19 pm

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

mack6225
 
Posts: 24
Joined: Wed May 09, 2012 6:01 pm

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

by mack6225 on Wed Dec 12, 2012 1:11 am

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".

mack6225
 
Posts: 24
Joined: Wed May 09, 2012 6:01 pm

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

by mack6225 on Wed Dec 12, 2012 1:11 am

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".

mack6225
 
Posts: 24
Joined: Wed May 09, 2012 6:01 pm

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

by adafruit_support_bill on Wed Dec 12, 2012 7:27 am

>> 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?
User avatar
adafruit_support_bill
 
Posts: 31846
Joined: Sat Feb 07, 2009 10:11 am

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

by adafruit on Sat Dec 15, 2012 5:31 pm

in the gps library, there are flora_ versions of the examples, please use those
User avatar
adafruit
 
Posts: 11745
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Additional Questions re; Flora Kit

by mack6225 on Sat Dec 15, 2012 7:52 pm

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

mack6225
 
Posts: 24
Joined: Wed May 09, 2012 6:01 pm

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

by adafruit_support_bill on Sun Dec 16, 2012 8:00 am

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
adafruit_support_bill
 
Posts: 31846
Joined: Sat Feb 07, 2009 10:11 am

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

by mack6225 on Sun Dec 16, 2012 6:00 pm

Fantastic Thank You

mack6225
 
Posts: 24
Joined: Wed May 09, 2012 6:01 pm