I am reading a book that teaches about programming the LPC1768.
I have the following exercise here: Using any digital output pin, write a program which outputs a square wave, by switching the output repeatedly between Logic 1 and 0. Use wait( ) functions to give a frequency of 100 Hz (i.e., a period of 10 ms). View the output on an oscilloscope. Measure the voltage values for Logic 0 and 1. How do they relate to Fig. 3.1? Does the square wave frequency agree with your programmed value?
My problem is that I don't have an oscilloscope. Without it, this exercise is sort of impossible for me but I am guessing that indeed my frequency will be higher than expected.
I am thinking that it will be higher due to the output timing being dependant on the internal clock.
Am I right in thinking this? If not, what sort of frequency would I get and why?