Working on the zbaird's radar gun project. I want to do some bit banging and am trying to use the __delay_cycles in ICCAVR. I can not seem to get it to work though, admittedly I have never tried this before so I do not know the correct way of using it. I can not seem to find any documentation on how to use it. I have searched but dont see it (I am sure that someone will show me a google query -im feeling lucky- with the answer, you know an egg in the face answer, that is just my luck)
I have tried
#define delay() __delay_cycles(CLOCK/2400); but this
gives me the wonderful error message: undefined symbol '___delay_cycles' .
The example I saw using this did not mention anything special I needed to do. I am using the demo version of ICCAVR 7.14c