• Two different functions but with the same name in separate libraries
    I have two libraries, named a.lib and b.lib. Both libraries have a function char test(void), but return different characters. a.c (a.lib) char test(void); char test(void) { return 'a'; } b.c (b...
  • howto: function library in separated hex-file
    Due to the lack of flash memory i want to move code parts in a separate function library and locate the same in RAM. I thought to use the LIB166 and assign certain code modules to the RAM-address area...
  • 2 separate HEX files
    I'm using the Keil C51 compiler for my project. I need to create 2 separate code areas: one for on-chip code and one for off-chip (EEPROM) code. I want to locate some functions on-chip (for speed) and...
  • 2 separate frequencies
    Hello! I have a problem, and no idea how to solve it. Maybe someone can help me? System: 80C537, 12MHz Problem: I have to generate 2 separate frequencies, that have to be changed independently...
  • Thousand separator in printf
    Hi, I want to do something like this printf("The number = %d\r\n",1000000); And I want it to show as The number = 1000,000 but I get The number = 1000000 also I have tried to use setlocale...