Page 1 of 1

downloading program from controller

Posted: Sat Oct 18, 2014 6:03 pm
by Meshmez
Hey everyone,
I haven't been on here in a long time, and I haven't messed with my controller in a long time. I decided I wanted to change up some code, but my program files are all on a hard drive that crashed. is there any way to download the currently running program from the controller?
Thanks

Re: downloading program from controller

Posted: Sat Oct 18, 2014 6:47 pm
by Rodasphoto
I don't think there is.

Sent from my XT1060 using Tapatalk

Re: downloading program from controller

Posted: Sat Oct 18, 2014 8:09 pm
by binder
Rodasphoto wrote:I don't think there is.

Sent from my XT1060 using Tapatalk
correct. there is not any way to pull the code off of the controller.

Re: downloading program from controller

Posted: Sun Oct 19, 2014 10:48 am
by Meshmez
Well crap... That sucks.....

Re: downloading program from controller

Posted: Sun Oct 19, 2014 1:07 pm
by lnevo
Use the wizard and we'll help you fill in the blanks. Start a thread for your INO and you can keep your full code there as a backup.

Re: downloading program from controller

Posted: Sun Oct 19, 2014 4:56 pm
by Meshmez
Thanks,
I think I found a backup file on another computer. I just wish I could make sure its the right one, because everything is working great, I just want to change from pwmparabola to pwmslope.

Is there an easy way to add a line of text to one of the default controller screens where I could basically type a revision number or description into the code that would show on the controller? for instance, can I make it so I could add the file name to the main screen or something, so that I have that to reference the file on the computer?

Re: downloading program from controller

Posted: Sun Oct 19, 2014 9:20 pm
by rimai
Sure, try this:

Code: Select all

ReefAngel.LCD.DrawText(COLOR_BLACK, COLOR_WHITE, 10, 110, "filename");
You can change the coordinates to a spot where it doesn't overlap with other stuff you have in the screen.
x:10
y:110

Re: downloading program from controller

Posted: Mon Oct 20, 2014 4:47 pm
by Meshmez
Awesome I'll give that a shot! Thank you all for the quick help as usual!