DM163035 Microchip Technology, DM163035 Datasheet - Page 16

KIT DEVELOPMENT PICDEM LAB

DM163035

Manufacturer Part Number
DM163035
Description
KIT DEVELOPMENT PICDEM LAB
Manufacturer
Microchip Technology
Type
MCUr
Datasheet

Specifications of DM163035

Contents
Board, Cable, Components, CD, PICkit Programmer
Processor To Be Evaluated
PIC10F, PIC12F615, PIC16F616
Data Bus Width
8 bit
Operating Supply Voltage
1.3 V to 5 V
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC10, PIC12, PIC16
Silicon Core Number
PIC10F, PIC12F, PIC16F
Silicon Family Name
PIC10F2xx, PIC12F6xx, PIC16F6xx
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC10F206, PIC16F690, PIC16F819
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
PICDEM
2.4
SD41369A-page 12
MPLAB
TM
®
IDE DOWNLOAD INSTRUCTIONS
1. Initalize():
2. Get_Inputs():
3. Decide():
4. Do_Outputs():
5. Timing():
Example 2-1 shows a typical main() calling the various functions that make up the
software control loop.
EXAMPLE 2-1:
An infinity loop will be used by all labs in this user’s guide created using a while
loop that repeatedly call the functions within the curly braces as long as there is power
to the microcontroller.
Global variables are used wherever needed in lieu of passing variables between
functions.
The following steps outline how to download the latest version of the MPLAB IDE and
HI-TECH C
mended that all open programs and applications are closed to expedite the installation
process.
Lab Development Board User’s Guide
void main(void)
{
}
- Initializes the microcontroller, the peripherals used in the application and any
- Obtains any input information either on-chip (from internal registers, etc...) or
- Makes decisions based on the input information gathered in the previous
- Based on the decisions made in the previous function, this function outputs
- This function determines how fast the software control loop executes.
global variables used by multiple functions.
off-chip (pin voltage levels).
function to manipulate global variables.
data onto the pins of the microcontroller or to registers within the device.
}
Initialize(); //Initialize the relevant registers
while(1)
{
®
Decide();//Make any decisions
Do_Outputs(); //Perform any outputs
Timing();//Sets execution rate of the
//Software Control Loop
PRO for the PIC10/12/16 MCU Families compiler. It is strongly recom-
TYPICAL SOFTWARE CONTROL LOOP MAIN() USED IN
LABS
© 2009 Microchip Technology Inc.

Related parts for DM163035