I would appreciate your help to fix this problem: -------------------------------------------------- <main.c>
// include files #include "main.h"
// main int main(void) { //test code for problem in h file
while (reg1) { // wait } }
// end
<main.h>
volatile unsigned char reg1 __at 0x40004000; //see the semicolon?
<build>
Build target 'Target 1'
compiling main.c...
main.h(1): error: #65: expected a ";"
Target not created
----------------------------------- Eric