ANS HAFEEZ
Advanced Member level 4
- Joined
- Jul 25, 2013
- Messages
- 101
- Helped
- 5
- Reputation
- 10
- Reaction score
- 5
- Trophy points
- 1,298
- Location
- LAHORE,PAKISTAN
- Activity points
- 1,911
i am using ATMEL STUDIO 6
when i write this there is No Error No warning and No Message
but whn i write it as
Warning 1 #warning "F_CPU not defined for <util/delay.h>" [-Wcpp]
Warning 2 "F_CPU" redefined [enabled by default]
Proteus Simulation is different for bath codes
but i did not get whats the problem is???
Code C - [expand] 1 2 3 #define F_CPU 16000000UL #include <avr/io.h> #include <util/delay.h>
when i write this there is No Error No warning and No Message
but whn i write it as
Code C - [expand] 1 2 3 #include <avr/io.h> #include <util/delay.h> #define F_CPU 16000000UL
Warning 1 #warning "F_CPU not defined for <util/delay.h>" [-Wcpp]
Warning 2 "F_CPU" redefined [enabled by default]
Proteus Simulation is different for bath codes
but i did not get whats the problem is???
Last edited by a moderator: