|
Ordering Information |
|
.: Ordering using our PayPal powered shopping cart (PayPal
account not required).
|
CAN232 : $79 |
|
|
|
|
|
CANUSB : $89 |
|
|
|
|
|
I2C232 : $79 |
|
|
|
|
|
I2CUSB : $89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click here to View Cart and check out.
|
|
|
|
|
 |
 |
 |
Chapter 3c4 - A Better Delay Function (continued) |
|
The main() function has been updated to call the delay_msec()
function with a value of 50 indicating that 50 milliseconds
should be the delay between each setting or clearing of the
PORTC output pin. When you load this program into PicWiser the
LED with blink at a 10 hertz rate.
This scope trace shows the output which appears to be
slightly longer than 50 milliseconds. Better timing will be
achieved when we introduce interrupts later.

|
 |
|