hi,im doing the PIC_BASE_C_4 example which is driving 7segment,but have problems with the DelayS().
i dont have the stdmacros-HTC.h in my hi-tech C include folder but i found it in this forum. then i add it into my header file,it still cant work...
besides,i tried Delay_MS(100); or delay_ms(100); both of the cant work,is there any other file that i need to include?
currently i just #include <htc.h>
is there anyway to write a delay function myself? probably delayms/delays...
thanks in advance
i dont have the stdmacros-HTC.h in my hi-tech C include folder but i found it in this forum. then i add it into my header file,it still cant work...
besides,i tried Delay_MS(100); or delay_ms(100); both of the cant work,is there any other file that i need to include?
currently i just #include <htc.h>
is there anyway to write a delay function myself? probably delayms/delays...
thanks in advance