/* ================================================================================ Program : Asuro 014, Build 003, Frontswitches test by system led.c Release date : 2005-02-05 Author : Henk van Winkoop Build : 001, 2005-02-05, original release Build : 002, 2005-02-05, comment added, superfluous code removed Build : 003, 2005-02-07, comment added, superfluous code removed ================================================================================ */ //-------------------------------------------------------------------------------- // INCLUDES //-------------------------------------------------------------------------------- #include "hvwdefines.h" //-------------------------------------------------------------------------------- // DEFINES //-------------------------------------------------------------------------------- //Remember, due to a misconception of the original Asuro switch conversion formula... //... bits and switches are mirrored... //... for example bit 0 (hex 0x01) corresponds to switch K6 at Asuro front right... //...(and NOT to switch K1, Asuro front left, as was initially ment to be) #define SWITCH_K1 0x20 #define SWITCH_K2 0x10 #define SWITCH_K3 0x08 #define SWITCH_K4 0x04 #define SWITCH_K5 0x02 #define SWITCH_K6 0x01 //-------------------------------------------------------------------------------- // DELAY MILLI SECONDS //-------------------------------------------------------------------------------- void vDelayMilliSeconds(int iDelMilSec){ //var unsigned int i,j; //handle all milli seconds for(i=0;i