Welcome! Log In Create A New Profile

Advanced

Servo control with FW 0.91 on Sanguinololu

Posted by davejones 
Servo control with FW 0.91 on Sanguinololu
November 17, 2014 04:19AM
Compile error after enabling servo control.

HAL.cpp:584:2: error: #error No servo support for your board, please diable FEATURE_SERVO

Can this be fixed or will I have to change board or FW?.

Board is Sanguinololu 1.3a with ATMEGA1284 and FW is 0.91.
Intend to use pin 27 for servo.

Cheers,
Dave

Edited 2 time(s). Last edit at 11/17/2014 05:22AM by davejones.


Ordbot Hadron
Sanguinololu
Repetier Host
Repetier Firmware
Cura
Re: Servo control with FW 0.91 on Sanguinololu
November 17, 2014 07:36AM
You can try
#if 1 || defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__) || defined(__AVR_ATmega128__) ||defined(__AVR_ATmega1281__)||defined(__AVR_ATmega2561__)

a but further in HAP.cpp where the cpus are tested. With some luck your cpu also has timer 3 whcih is used for servos, but I think it stops at timer2.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Servo control with FW 0.91 on Sanguinololu
November 17, 2014 05:49PM
Quote
repetier
You can try
#if 1 || defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__) || defined(__AVR_ATmega128__) ||defined(__AVR_ATmega1281__)||defined(__AVR_ATmega2561__)

a but further in HAL.cpp where the cpus are tested. With some luck your cpu also has timer 3 whcih is used for servos, but I think it stops at timer2.

Working perfectly. Thank you.
Keep up the good work.

Cheers,
Dave

Edited 1 time(s). Last edit at 11/17/2014 05:50PM by davejones.


Ordbot Hadron
Sanguinololu
Repetier Host
Repetier Firmware
Cura
Sorry, only registered users may post in this forum.

Click here to login