Author Topic: Axon 2 - HS-422 Servos Computer Controlled Example  (Read 2593 times)

0 Members and 1 Guest are viewing this topic.

Offline shartkeTopic starter

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
Axon 2 - HS-422 Servos Computer Controlled Example
« on: April 24, 2010, 01:31:01 PM »
I am using the example code from WebbotLib called computer_controlled_example.    When I take their compiled hex file and load it onto my Axon2 i can control my servos through port E7 and H5.   (This is using the already compiled hex)  When I add the code to a new project in AVR studio the code compiles just fine but the servos wont move.    If I use hyperterminal I can see the axon initiating via rprintf and when I press a number key (6, or 7)  I see 79 and 80 printed through rprintf.   I am sure I have missed a simple step.   I tried changing the code to use the axon2.h file.  I also changed those pins in the axon2.h to output.   Any ideas?

Offline shartkeTopic starter

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
Re: Axon 2 - HS-422 Servos Computer Controlled Example
« Reply #1 on: April 24, 2010, 02:08:44 PM »
I got it :D  I was being silly...

Offline Cristi_Neagu

  • Robot Overlord
  • ****
  • Posts: 165
  • Helpful? 5
Re: Axon 2 - HS-422 Servos Computer Controlled Example
« Reply #2 on: April 24, 2010, 10:42:01 PM »
Well... what was the problem, and, more importantly, what was the solution?

 

SMF spam blocked by CleanTalk