go away spammer

Author Topic: AxonII Error 13?  (Read 1342 times)

0 Members and 1 Guest are viewing this topic.

Offline AsellithTopic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 648
  • Helpful? 9
  • "I'm a leaf on the wind. Watch how I soar"
    • CorSec Engineering
AxonII Error 13?
« on: November 30, 2010, 08:18:47 AM »
I had to switch to my trusty Axon1 last night because the AxonII started showing what looks like error 13 on the LED display. Same code worked great on the AxonI I've never used this axonII so I still have not been able to get a program to run on it. Ideas?
Jonathan Bowen
CorSec Engineering
www.corseceng.com

Offline knossos

  • Robot Overlord
  • ****
  • Posts: 278
  • Helpful? 14
Re: AxonII Error 13?
« Reply #1 on: November 30, 2010, 04:18:17 PM »
Well, if its the exact same code, did you account for the changes in pinout between the Axon I and Axon II?  If you have, try loading one of the default Axon II programs from SoR and see that you can get it to work properly.  Let us know what happens and we'll go from there.
"Never regret thy fall,
O Icarus of the fearless flight
For the greatest tragedy of them all
Is never to feel the burning light."
 
— Oscar Wilde

Offline AsellithTopic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 648
  • Helpful? 9
  • "I'm a leaf on the wind. Watch how I soar"
    • CorSec Engineering
Re: AxonII Error 13?
« Reply #2 on: November 30, 2010, 07:11:15 PM »
I'm using webbots library so it a matter of deleting a 2 to change the code to Axon 1 vs axon 2. I am also using the code from the roborealm servo controller code. Should work right out of the box. Did for the axon 1
Jonathan Bowen
CorSec Engineering
www.corseceng.com

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: AxonII Error 13?
« Reply #3 on: December 01, 2010, 09:45:23 PM »
If you look at errors.h in WebbotLib you will see that error 13 means that a PWM pin is already in use.

Without knowing more about your code its hard to comment further.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline AsellithTopic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 648
  • Helpful? 9
  • "I'm a leaf on the wind. Watch how I soar"
    • CorSec Engineering
Re: AxonII Error 13?
« Reply #4 on: December 02, 2010, 10:35:09 AM »
I'll look over my code again I may have loaded the wrong pin into something. I was just afraid my axonII was dead.
Jonathan Bowen
CorSec Engineering
www.corseceng.com

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: AxonII Error 13?
« Reply #5 on: December 02, 2010, 12:51:48 PM »
What you could try is using Project Designer and add in the hardware you are using. If there are any conflicts it should show you what/where they are.
Whether you then use Project Designer to generate the project code or not is up to you.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline AsellithTopic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 648
  • Helpful? 9
  • "I'm a leaf on the wind. Watch how I soar"
    • CorSec Engineering
Re: AxonII Error 13?
« Reply #6 on: December 02, 2010, 03:39:17 PM »
I tried that but I couldn't get the auto generate avr studio button to work. It was greyed out. I was in a hurry that night and didn't sit down to figure out what was wrong. All I wanted was to set a constant rotate servo to a specific speed and be done. I selected Axon2 and added a hardware servo controller to a pin then tried to generate and it wouldn't let me.
Jonathan Bowen
CorSec Engineering
www.corseceng.com

 


Get Your Ad Here

data_list