• Extra underscore in .h file guard
    I have been looking at some examples from NXP and they have the following convention with an extra _ in the #ifndef in all their .h files: #ifndef DRIVER_CONFIG_H_ #define DRIVER_CONFIG_H #include...
  • variable name confusion
    void tst() { { char x; _x = 0; } // ... error C202: '_x': undefined identifier { char _x; x = 0; } // No errors! Are "_x" and "x" the same here? }
  • Named register variables
    Hello! In one of my applications i need to copy value of a register in a C variable. Because I work with a LM3S811 I cannot use inline assembler (because it is not permitted when generating Thumb code...
  • fopen leads to os_error
    Hi everybody, I work on an Project which based on a LPC1758 with RTX (use µVision v4.60). During os_sys_init i initialize the filesystem with finit (work with SD-Card on SPI). After that I open two...
  • Recharge lead acid battery
    Does anyone know what the cost of the electricity is to recharge 12volt lead acid battery. regards Bill