X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fatmel.git;a=blobdiff_plain;f=hdw-tank%2Fmotor.asm;h=5b630ed1c429808f7db992729375499bd0117b94;hp=93861803edb703e7b1d379c09fa2d8cf00c0d5ee;hb=ebc6337dea06a5abd94de3794352accb573e22ec;hpb=bc07798b093617e4b907b3fdb2155dc098b03e0b diff --git a/hdw-tank/motor.asm b/hdw-tank/motor.asm index 9386180..5b630ed 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<