Mercurial > public > hwos_code
diff src/ostc3.inc @ 28:fcaf94b913db
rx isr
author | heinrichsweikamp |
---|---|
date | Sat, 20 Jul 2013 16:02:35 +0200 |
parents | 9df2c8e018fe |
children | 53a09c1b7410 |
line wrap: on
line diff
--- a/src/ostc3.inc Wed Jul 17 13:22:51 2013 +0200 +++ b/src/ostc3.inc Sat Jul 20 16:02:35 2013 +0200 @@ -19,7 +19,7 @@ #include <ports.inc> ; Portmap #DEFINE softwareversion_x d'0' ; Software version XX.YY -#DEFINE softwareversion_y d'98' ; Software version XX.YY +#DEFINE softwareversion_y d'99' ; Software version XX.YY #DEFINE softwareversion_beta 1 ; (and 0 for release) #DEFINE comm_service_key 0xABCDEF @@ -31,6 +31,8 @@ #DEFINE T2CON_NORMAL b'00001110' #DEFINE T2CON_FASTEST b'00001110' ; 1:2 Postscaler, 1:16 Prescaler, Timer 2 start -> 1960Hz (no-flicker) +#DEFINE TMR0H_VALUE .245 ; RX Timeout (~3ms) + ; Timing for button hold-down flags #DEFINE TMR1H_VALUE_FIRST .255-.128 ; in steps of 7,8125ms -> 1s #DEFINE TMR1H_VALUE_CONT .255-.32 ; in steps of 7,8125ms -> 0.25s