Skip to content

Examples for Explorer 16 Development Board of Microchip

License

Notifications You must be signed in to change notification settings

rbuj/explorer16

Repository files navigation

Explorer 16 Development Board

Some simple examples for Explorer 16 Development Board of Microchip.

Project List
Project Name Short description [1] [2]
ChronometerTimer1SOSC Display a chronometer in LCD by using Timer1 Interrupt and SOSC as clock source, change notification interrupt on S3 to start/reset the chronometer. Precision 1/32s. x x
ClockTimer1SOSC Display a Clock in LCD by using Timer1 Interrupt and SOSC as clock source, change notification interrupt on S3 to start/reset the clock. x x
D10OnOffS3 Switch on D10 LED by pressing and holding S3 switch button, LED is switched off when it's not pressed. x x
D10ToggleTimer1 Toggle switch on/off the D10 LED @ 1 Hz using Timer1 Interrupt and SOSC as clock source. x x
D10FlashDelay Flash LED D10 using __delay_ms(d) macro. x x
LCDHelloWorld4MIPS Print a message in the LCD Display @ 4 MIPS. x x
LCDHelloWorld8MIPS Print a message in the LCD Display @ 8 MIPS. x x
LCDHelloWorld16MIPS Print a message in the LCD Display @ 16 MIPS. x x
LEDsOnOffS3 Switch on D3:D10 LEDs by pressing and holding S3 switch button, LED is switched off when it's not pressed. x x
LEDsToggleTimer1 Toggle switch on/off the D3:D10 LEDs @ 1 Hz using Timer1 Interrupt and SOSC as clock source. x x
ToggleD9D10CNIS3 Toggle switch on/off the D9/D10 LEDs using the Change Notification Interrupt on S3 switch button. x x

[1] PIC24FJ128GA010, [2] dsPIC33FJ256GP710A

Module List
Module Name Project Name [1] [2]
Write to output pin / D10 D10FlashDelay x x
Use delay macro D10FlashDelay x x
Read from input pin / S3 D10OnOffS3 x x
Write to LCD using Parallel Master Port (PMP) LCDHelloWorld4MIPS x
Write to LCD (w/ PMP) LCDHelloWorld x x
Parallel write to output pins / D3:10 LEDsOnOffS3 x x
Change Notification Interrupt / S3 ToggleD9D10CNIS3 x x
Low-Power Secondary Oscillator (SOSC) / Timer 1 D10ToggleTimer1 x x

[1] PIC24FJ128GA010, [2] dsPIC33FJ256GP710A

Ascending Order of Difficulty
# Project Name Modules
1 D10FlashDelay Write to output pin / D10; Use delay macro;
2 D10OnOffS3 Write to output pin / D10; Read from input pin / S3;
3 LCDHelloWorld4MIPS Write to LCD @ 4 MIPS (Busy flag check)
4 LCDHelloWorld8MIPS Write to LCD @ 8 MIPS (Busy flag check)
5 LCDHelloWorld16MIPS Write to LCD @ 16 MIPS (Busy flag check)
6 LEDsOnOffS3 Parallel write to output pins / D3:10; Read from input pin / S3; Write to LCD;
7 ToggleD9D10CNIS3 Change Notification Interrupt / S3; Write to output pin / D10; Write to LCD;
8 D10ToggleTimer1 Low-Power Secondary Oscillator (SOSC) / Timer 1; Write to output pin / D10; Write to LCD;
9 LEDsToggleTimer1 Low-Power Secondary Oscillator (SOSC) / Timer 1; Write to output pins / D3:10; Write to LCD;
10 ClockTimer1SOSC Low-Power Secondary Oscillator (SOSC) / Timer 1; Change Notification Interrupt / S3; Write to LCD;
11 ChronometerTimer1SOSC Low-Power Secondary Oscillator (SOSC) / Timer 1; Change Notification Interrupt / S3; Write to LCD;

Requirements

Software
  • MPLAB X IDE is a software program that runs on a PC (Windows®, Mac OS®, Linux®), supports project management, code editing, debugging and programming of Microchip microcontrollers.
  • MPLAB XC16 is a C compiler for 16-bit PIC devices.
Hardware

or

About

Examples for Explorer 16 Development Board of Microchip

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published