Differences

This shows you the differences between two versions of the page.

Link to this comparison view

et:temp [2014/03/06 14:09] – tekitatud raivo.sellet:temp [2020/07/20 12:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +Mootorite kasutamine ja seadistamine
 +<code c>
 +// Mootori teek
 +#include <homelab/module/motors.h>
 + 
 +// Mootori kasutamine
 +int main(void)
 +{
 + dcmotor_init(0); // Mootori 0 seadistamine
 + dcmotor_drive(0, 1); // Mootori tööle panemine
  
 + servomotor_init(0); // Servo 0 seadistamine
 + servomotor_position(0, 100); // Servo positsiooni määramine
 +}
 +</code>
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0