Changes between Version 9 and Version 10 of DCMoterDriver


Ignore:
Timestamp:
May 19, 2015 5:24:54 PM (5 years ago)
Author:
soumura
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DCMoterDriver

    v9 v10  
    9797  digitalWrite(AIN1,HIGH);
    9898  digitalWrite(AIN2,LOW);
    99   for(i=0;i<256;++){
     99  for(i=0;i<256;i++){
    100100    analogWrite(PWMA,i);
    101101    delay(100);
     
    114114  digitalWrite(AIN1,LOW);
    115115  digitalWrite(AIN2,HIGH);
    116   for(i=0;i<256;++){
     116  for(i=0;i<256;i++){
    117117    analogWrite(PWMA,i);
    118118    delay(100);