AVR C
EASY PIC'n Book

US$29.95


PIC'n up the Pace Book
PIC'n up the Pace Book
US$34.95

PIC'n Technique Book
PIC'n Technique Book

US$34.95

SERIAL PIC'n Book
SERIAL PIC'n Book

US$49.95

Programming & Customizing PIC Micro
Programming & Customizing PIC Micro
US$31.96

Embedded Systems Building Blocks








Embedded Systems BuildingBlocks: Complete & Ready-To-Use Modules in C
US$55.96

blitzlogic










APPLICATION #1      Simple Outputs - 8 LEDs  

Since any PORTB pin is able to source a max. of 20mA per pin with PORTB capable of sourcing a max- imum total current of 100mA, hence we can use PORTB to drive LED display directly. As shown in the circuit, 8 LEDs are connected to PORTB with each 120 Ohm current limiting resistor

Low Cost PIC C Compilers ?                   PCM C from CCS, USA ~US$99  


The following code, led.c demonstrate how to output and turn on & off the LEDs. The program blinks the series of LEDs from LED1 to LED8 turning on & off one after another sequentially. When it reaches LED8, it repeats the process all over again starting at LED1.

   GET DEMO CCS C Compiler NOW ?     PCW C - for PIC16C61 1K code only ! *****  


EXERCISES

Modify the above program to display
the following sequence : -

LED1 and LED8 turn on, 1 sec delay;
LED2 and LED7 turn on, 1 sec delay;
LED3 and LED6 turn on, 1 sec delay;
LED4 and LED5 turn on, 1 sec delay;
   Loop back & Repeat again forever.

Navigation Bar

BLITZLOGIC SDN. BHD.
tech_support@blitzlogic.com