soma.d.e
Newbie level 4
HI I write code in keil for arm (ATSAm7X256) it has simple code but when it compile have error ;what i do for solve it.
im armature and i dont Know any person help me.
this code:
and the error is :
im armature and i dont Know any person help me.
this code:
Code dot - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 #include<AT91SAM7X256.H> #include<libe-AT91SAM7X256.h> void(wait)void; int main (void){ AT91F-PIO-Ctg Output (AT91C-BASE-PIOB,AT91C-PIO-PB 0); AT91F-PIO-Clear Output (AT91C-BASE-PIOB,AT91C-PIO-PB 0); wait(); AT91f-PIO-Set Output (AT91C-BASE-PIOB,AT91C-PIO-PB 0); wait(); } void wait (void) { unsigned int n; for (n=0;n<7000000;n++); }
and the error is :
Code:
Build target 'Target 1'
compiling test1.c...
test1.c(2): error: #5: cannot open source input file "libe-AT91SAM7X256.h": No such file or directory
Target not created
Last edited by a moderator: