Nahian
Member level 3
clockspeed
hello,
what is the meaning when we write
#ifndef F_CPU
#define F_CPU 16000000UL
#endif
at begining of a program, when my µ controller is running on external or internal RC crystal of different clockspeed. Say Atmega32 running on internal 1 mhz... no fuse bit has been changed. whats the effect of writing this?[/b]
hello,
what is the meaning when we write
#ifndef F_CPU
#define F_CPU 16000000UL
#endif
at begining of a program, when my µ controller is running on external or internal RC crystal of different clockspeed. Say Atmega32 running on internal 1 mhz... no fuse bit has been changed. whats the effect of writing this?[/b]