Page 1 of 1

Re: Help Getting started again.

Posted: Thu Sep 08, 2016 7:13 pm
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 :(

Re: Help Getting started again.

Posted: Thu Sep 08, 2016 7:27 pm
by Sacohen
The MAC version seems to be 1.0.1.

Image

Re: Help Getting started again.

Posted: Fri Sep 09, 2016 12:21 pm
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.

Re: Help Getting started again.

Posted: Fri Sep 09, 2016 2:34 pm
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

Re: Help Getting started again.

Posted: Fri Sep 09, 2016 5:23 pm
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.

Re: Help Getting started again.

Posted: Sun Sep 11, 2016 1:40 pm
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.

Re: Help Getting started again.

Posted: Fri Sep 16, 2016 6:00 am
by lnevo
Try downgrading the libraries to the last production version would be my suggestion.

Re: Help Getting started again.

Posted: Fri Sep 16, 2016 11:27 am
by Sacohen
Where do I find those again?

Re: Help Getting started again.

Posted: Fri Sep 16, 2016 11:27 am
by Sacohen
Where do I find those again?

Re: Help Getting started again.

Posted: Fri Sep 16, 2016 11:34 am
by rimai
One thing I notice is that your sketchbook is pointing to the wrong folder.
Try deleting the code folder in the path.

Re: Help Getting started again.

Posted: Fri Sep 16, 2016 11:48 am
by Sacohen
I have tried that too.

Re: Help Getting started again.

Posted: Fri Sep 16, 2016 11:49 am
by rimai
Can you post the entire error log?

Re: Help Getting started again.

Posted: Fri Sep 16, 2016 5:01 pm
by Sacohen
I can't.
It is too large...

Your message contains 137874 characters. The maximum number of allowed characters is 100000.

Re: Help Getting started again.

Posted: Fri Sep 16, 2016 7:17 pm
by rimai
Save in a text file and attach

Re: Help Getting started again.

Posted: Fri Sep 16, 2016 8:20 pm
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 603 times

Re: Help Getting started again.

Posted: Fri Sep 16, 2016 11:57 pm
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?

Re: Help Getting started again.

Posted: Sat Sep 17, 2016 5:24 am
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.

Re: Help Getting started again.

Posted: Sat Sep 17, 2016 7:22 am
by lnevo
sweet!

Re: Help Getting started again.

Posted: Sat Sep 17, 2016 7:25 am
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