X-Git-Url: https://www.hackdaworld.org/gitweb/?a=blobdiff_plain;f=hdw-tank%2Fmotor.asm;h=3339c9972e87a1cecbd93d095b2b24b1e0d02114;hb=12dfe92063a52e73ca7522afbf19e7baf0990e41;hp=93861803edb703e7b1d379c09fa2d8cf00c0d5ee;hpb=bc07798b093617e4b907b3fdb2155dc098b03e0b;p=my-code%2Fatmel.git diff --git a/hdw-tank/motor.asm b/hdw-tank/motor.asm index 9386180..3339c99 100644 --- a/hdw-tank/motor.asm +++ b/hdw-tank/motor.asm @@ -1,67 +1,63 @@ ; motor functions -;include "../include/m128def.inc" - .equ MOT_DIR_L = 0x02 .equ MOT_DIR_R = 0x03 .equ MOT_PWR_L = 0x04 .equ MOT_PWR_R = 0x07 -;.def tmp = r17 - MOTOR_INIT: ; ports -> output - in tmp,DDRB - sbr tmp,(1<