Help Getting started again.

Share you PDE file with our community
Post Reply
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Help Getting started again.

Post by lnevo »

Roberto is there a permlink to the older version? I'd send him the one I have but I can't find the archive anywhere :(
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Help Getting started again.

Post by Sacohen »

The MAC version seems to be 1.0.1.

Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Help Getting started again.

Post by rimai »

Yeah, the old version is the one in the download page of the website. It is the 1.0.1 IDE with 1.1.3 main branch of libraries.
It appears you got the correct IDE, just mismatched settings.
The sketchbook location should be /Users/Steves-iMac/Documents/Arduino in your case.
After you change it, you must quit Arduino and open it again though. If everything is correct, next time you open Arduino, when you click the open button, you should see the RA_Preloaded and the other codes in the drop down list.
Roberto.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Help Getting started again.

Post by Sacohen »

Ok. That seems to be better.
I'm not getting the following error...

Code: Select all

static time_t LastATO=millis();    // For de-bounced ATO
'time_t' does not name a type
I'm getting a very vague "Error Compiling".
There is no line # or anything else.

The last line in the verbose readout is...

Code: Select all

/Users/Steves-iMac/Documents/Arduino/libraries/Globals/Globals.h:366: warning: 'RANetStatus' defined but not used
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Help Getting started again.

Post by rimai »

Warnings are safe to ignore. If you don't want to see them, just suppress them. For some reason, the Mac version shows suppressed but you actually need to force it to show and then suppress or it will never suppress. Bug in the IDE, I guess.
Go to File->Preferences and select All and click Ok. Then go back and select none again and click ok.
That will suppress the warnings.
If it is complaining about time_t, you can use unsigned long instead, which is actually better.
Roberto.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Help Getting started again.

Post by Sacohen »

There is no preferences under file.
It's under Arduino and there is nothing like you are talking about in those preferences.
This is that pane...
Image

The file section has the following options...

Image

I don't care about the warning as long as it will compile and upload properly, but it won't' do that.

I'm still getting that very vague "Error Compiling".
There is no line # or anything else.

The last line in the verbose readout is...

Code: Select all

/Users/Steves-iMac/Documents/Arduino/libraries/Globals/Globals.h:366: warning: 'RANetStatus' defined but not used
and it just stops.
It doesn't upload at all.
It happens on the Bluetooth or USB-TTY port connections.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Help Getting started again.

Post by lnevo »

Try downgrading the libraries to the last production version would be my suggestion.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Help Getting started again.

Post by Sacohen »

Where do I find those again?
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Help Getting started again.

Post by Sacohen »

Where do I find those again?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Help Getting started again.

Post by rimai »

One thing I notice is that your sketchbook is pointing to the wrong folder.
Try deleting the code folder in the path.
Roberto.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Help Getting started again.

Post by Sacohen »

I have tried that too.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Help Getting started again.

Post by rimai »

Can you post the entire error log?
Roberto.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Help Getting started again.

Post by Sacohen »

I can't.
It is too large...

Your message contains 137874 characters. The maximum number of allowed characters is 100000.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Help Getting started again.

Post by rimai »

Save in a text file and attach
Roberto.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Help Getting started again.

Post by Sacohen »

The sketch is in /Users/Steves-iMac/Documents/Arduino and the only other error besides the attached is the "error compiling" in the orange bar between the sketch and the error log.
Steves Backip Sketch error log..rtf
(100.92 KiB) Downloaded 602 times
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Help Getting started again.

Post by rimai »

Do you have RA Plus selected as board?
In the log you sent it says this "-mmcu=atmega328p ", which is the wrong chip. Standard RA used 328, but RA+ uses 2560.
Can you also post your code?
Roberto.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Help Getting started again.

Post by Sacohen »

That did it.
I was stupid enough to follow the instructions for setting up the software for the MAC which said to set the controller to Reef Angel Controller w/ optiboot.

It's working fine now and the BlueTooth connection worked fine 1st shot.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Help Getting started again.

Post by lnevo »

sweet!
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Help Getting started again.

Post by Sacohen »

Yep.
Stupid mistake on my part.
Thanks for your help Lnevo and Rimai.

Sorry about the wasted time.☹

Sent from my SM-G928P using Tapatalk
Post Reply