Magzter Gold (Sitewide Promotion)
CQ Amateur Radio (Digital)

CQ Amateur Radio (Digital)

1 Issue, November 2015

Also available on
Zinio Unlimited logo
1-month free trial

Get unlimited access to this article, this issue, + back issues & 5,000+ other magazines.

Renews at just $8.99/month after trial.

Cancel anytime.
Learn more

An Introduction to Microcontrollers, Part II

KZ1G continues his tutorial on the basics of programming and using the microcontrollers (MCUs) that are becoming ever-more-common in ham radio projects.
An Introduction to Microcontrollers, Part II
The previous microcontroller article1 explained how software can control digital outputs that turn LEDs — and other devices — on or off. The DIRA command set MCU pins as either inputs or outputs, and the OUTA command transferred a logic-1 or a logic-0 to identified output pins. You also learned about objects that perform operations independent of your code, and you used an object in the Timing.spin code to create a 1-second delay (see Table 1). That program also defined a byte (8-bit) variable, LEDCounter, that has 1 added to it each time through the repeat loop. Thus the value of LEDCounter can range from 000000002 to 111111112, or 0 to 255. You might have wondered what happens when a pass through the loop adds 1 to 255. The LEDCounter…
You're reading a preview of
CQ Amateur Radio (Digital) - 1 Issue, November 2015

DiscountMags is a licensed distributor (not a publisher) of the above content and Publication through Zinio LLC. Accordingly, we have no editorial control over the Publications. Any opinions, advice, statements, services, offers or other information or content expressed or made available by third parties, including those made in Publications offered on our website, are those of the respective author(s) or publisher(s) and not of DiscountMags. DiscountMags does not guarantee the accuracy, completeness, truthfulness, or usefulness of all or any portion of any publication or any services or offers made by third parties, nor will we be liable for any loss or damage caused by your reliance on information contained in any Publication, or your use of services offered, or your acceptance of any offers made through the Service or the Publications. For content removal requests, please contact Zinio.

© 1999 – 2025 DiscountMags.com All rights reserved.