You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lvignals edited this page Apr 9, 2014
·
1 revision
Undefined F_CPU issue in chapter 5 when compiling serialLoopback.c
In Chpater 5 compiling serialLoopback.c using AS6.0 will generate an error as F_CPU is undefined.
Adding F_CPU as the line below helped the compilation but then the USART communication fails even though an oscilloscope reveals that the bits are being sent down the line. What is the correct fix for that undefined F_CPU error so that the Serial communication takes place properly?