simple question

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Hello,
I am getting my feet wet with a C8051F005. I am experimenting with C
and ASM programming for it. Using sample code I have been able to play
around with the LED (its associated with P1.6). I want to know how I
can create a simple program to toggle on and off the LED with the built
in SPST on P1.7 / SW2 ...I am quite unfamilar so any code examples
(esp. those that explain intialization kind push-pull or open-drain
etc.) would be extremely helpful.
Thanks!


Re: simple question
issue resolved. n/m


Site Timeline