[En-Nut-Discussion] Connecting a R/C servo on ethernut

Sigurd Kleppan 021243 at student.hit.no
Fri Jan 16 14:50:07 CET 2004


I have looked at some articles about using a r/c servo on ethernut. 
Is it correct to use this code? Will a servo work?

void servo(){
 while(2>1){
  NutDelay(20);
  outp(0xFF,PORTD);
  NutDelay(1);
  outp(0x00,PORTD);
 }
}

I have tried this code, but it won't work? Do someone have a better example??

Is it possible to use external adaptor to power the servo and only give the signal from ethernut board, or do i have to use same ground on signal and power?

Can ethernut 5V= supply a r/c servo?

Sigurd




More information about the En-Nut-Discussion mailing list