• How to call different C files from main()??
    Can someone pleae tell me how to write a medium size code systematically?? for example, I have one .c file for LCD, another .c file for keyboard, another .c file for ADC reading. main() is written as...
  • Calling function in the same file
    When I paste my Buzzer code in the main(), it works. But when I made a buzzer() to have this function execute in the main(), it didn't work. However,I want to use the buzzer function to execute in the...
  • why the same function can not be called at different place and different time?
    main.c uchar xdata g_uhour,g_uminute,g_usecond; void TimeDisp(uchar h,uchar m,uchar s) { ... } void main(void) { ... while(1) { if (page==0) { ... TimeDisp(g_uhour,g_uminute,g_usecond);//a }...
  • call function from a ISR
    Hello, At the moment, I'm working with the ethernet MAC interface and I'm now able to get a interrupt, when I receive a new frame from the PHY. But I'm not totally sure, how I have to configure the...
  • Calling ASM functions from C
    I'm using the uVision2 8051 eval version trying to see if it's worth leaving my normal asm enviroment. Natualy I have some asm functions that I would like to take with me, but I need to figure out how...