Mercurial > public > hwos_code
comparison src/ostc3.inc @ 234:57155164faad
Show OSTC2-like active gas boxes in surface mode
author | heinrichsweikamp |
---|---|
date | Wed, 25 Feb 2015 13:57:30 +0100 |
parents | fe9d88fee09f |
children | 23311219dacc |
comparison
equal
deleted
inserted
replaced
233:b6edf9bb8e3b | 234:57155164faad |
---|---|
26 #DEFINE firmware_expire_year .16 | 26 #DEFINE firmware_expire_year .16 |
27 #DEFINE firmware_expire_month .3 | 27 #DEFINE firmware_expire_month .3 |
28 #DEFINE firmware_expire_day .1 | 28 #DEFINE firmware_expire_day .1 |
29 | 29 |
30 #DEFINE comm_service_key 0xABCDEF | 30 #DEFINE comm_service_key 0xABCDEF |
31 | |
32 ;----------------------------------------------------------------------------- | |
33 ; Global layout parameters | |
34 #DEFINE surf_decotype_row .60 | |
35 #DEFINE surf_decotype_column .100 | |
36 | 31 |
37 ;----------------------------------------------------------------------------- | 32 ;----------------------------------------------------------------------------- |
38 | 33 |
39 #DEFINE CCP1CON_VALUE b'00001100' ; PWM1 for LED dimming | 34 #DEFINE CCP1CON_VALUE b'00001100' ; PWM1 for LED dimming |
40 #DEFINE T2CON_ECO b'00000100' ; 1:1 Postscaler, 1:1 Prescaler, Timer 2 start -> 980Hz (Good compromise of no-flicker and efficiency) | 35 #DEFINE T2CON_ECO b'00000100' ; 1:1 Postscaler, 1:1 Prescaler, Timer 2 start -> 980Hz (Good compromise of no-flicker and efficiency) |