Thursday, 17 December 2015

SUCCCED

The last post is about the program problem but after figure the problem why the program some time have problem to operate according to the code and jump to starting again and again.

This problem happen because there a watch built-in in TOOLSTICK. This watchdog/watchdog timer is a hardware timer that automatically generates a system reset if the main program neglects to periodically service it. It is often used to automatically reset an embedded device that hangs because of a software or hardware fault.

So to remove this watchdog timer, i have to direct supply the TOOLSTICK with 5V.


and i have change the PIN for PORT 1.2 to PORT 1.4 because

"This example code takes and averages 2048 analog measurements from input
P1.2 (Potentiometer input) using ADC0. This measurement can be viewed by
halting the example, or by connecting the device's UART to a UART receiver."

the potentiometer effect the I/O P1.2


Below is THE SUCCESS video

0 comments:

Post a Comment