The Demonstration Application
2.1.3
Time and Date (RTCC)
The PIC24F microcontroller has an on-chip Real-Time Clock and Calendar (RTCC)
module that the application uses to provide a continuous display of the date and time
(in 24-hour format) on the main menu. As the starter kit does not have an on-board
battery, the date and time must be set each time power is applied to the board.
To set the RTCC, select “Utilities” from the main menu, then “Date/Time” from the
“Utilities” menu. Use the left/right arrow keys to scroll between fields; the border of the
selected field becomes bolded. Use the up/down keys to set the value. When finished,
press the center touch pad to return directly to the main menu.
FIGURE 2-3:
SET DATE/TIME DISPLAY
Nov
01
-
i Set Date/Time
+      +
- -
2007
+
-
-
2.2
SPECIFIC DEMO HIGHLIGHTS
10
+
01
+
2.2.1
RGB LED Control (Three PWMs and Peripheral Pin Select)
Three of the PIC24F microcontroller ’s PWM modules control the three-color LED (D6),
and can be adjusted to control the LED’s brightness and color. To provide more current
to the LED channels and increase brightness, each channel is tied to two of the micro-
controller’s output pins. The Peripheral Pin Select feature of PIC24F devices allows
users to map the output of a single module (in this case, a PWM) to more than one pin,
avoiding any issues of coordinating separate pins in the process. The use of multiple
pins for a single PWM is transparent to the rest of the application.
To access this feature, select “Demos” from the Main display, then “RGB LED” from the
“Demonstrations menu”. The LED lights up at this point. By default, all three colors are
set at their brightness midpoint (Figure 2-4).
Use the up/down touch pads to select a color component, and the left/right touch pads
to adjust that color ’s intensity. When finished, press the center touch pad to extinguish
the LED and return to the main display.
i RGB LED
FIGURE 2-4:
? 2008 Microchip Technology Inc.
DEFAULT RGB LED CONTROL DISPLAY
Red
Green
Blue
DS51725A-page 11
相关PDF资料
DM240021 KIT STARTER MPLAB FOR PIC24H
DM240311 BOARD DEV PIC24F16KA102 XLP
DM300018 BOARD DEMO DSPICDEM 2
DM300019 BOARD DEMO DSPICDEM 80L STARTER
DM300024 KIT DEMO DSPICDEM 1.1
DM330012 KIT USB STARTER FOR DSPIC33E
DM330013 MICROSTICK DSPIC33F/PIC24H BOARD
DNET1 SURGE SUPPRESSOR ETHERNET RJ45
相关代理商/技术参数
DM240012 功能描述:开发板和工具包 - PIC / DSPIC PIC24E USB Starter Kit RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM240013-1 功能描述:开发板和工具包 - PIC / DSPIC Microstick for 3V PIC24F K-series RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM240013-2 功能描述:开发板和工具包 - PIC / DSPIC RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM240014 制造商:Microchip Technology Inc 功能描述:MICROSTICK FOR USB PIC24F - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:ACCY MICROSTICK USB PIC24F 制造商:Microchip Technology Inc 功能描述:MICROSTICK USB PIC24F
DM240015 制造商:Microchip Technology Inc 功能描述:MPLAB STARTER KIT FOR PIC24F INTELLIGENT INTEGRATED ANALOG - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:KIT MPLAB STARTER FOR PIC24F ANL 制造商:Microchip Technology Inc 功能描述:PIC24F GC INTELLIGENT ANALOG DEV KIT 制造商:Microchip Technology Inc 功能描述:PIC24F, GC INTELLIGENT ANALOG, DEV KIT 制造商:Microchip Technology Inc 功能描述:Starter Kit for PIC24F Intelligent Integrated Analog Series 制造商:Microchip Technology Inc 功能描述:Development Boards & Kits - PIC / DSPIC 制造商:Microchip Technology Inc 功能描述:PIC24F, GC INTELLIGENT ANALOG, DEV KIT, Silicon Manufacturer:Microchip, Core Arc 制造商:Microchip Technology Inc 功能描述:PIC24F, GC INTELLIGENT ANALOG, DEV KIT, Silicon Manufacturer:Microchip, Core Architecture:PIC, Core Sub-Architecture:PIC24, Silicon Core Number:PIC24FJ128GC010, Silicon Family Name:PIC24FJxxxGCxxx, Kit Contents:Starter Board 制造商:Microchip Technology Inc 功能描述:MPLAB Starter Kit for PIC24F Intelligent Integrated Analog, Starter Kits
DM240021 功能描述:开发板和工具包 - PIC / DSPIC MPLAB STARTER KIT FOR PIC24H RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM240311 功能描述:开发板和工具包 - PIC / DSPIC XLP 16-bit Dev Board RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM240312 功能描述:开发板和工具包 - PIC / DSPIC PIC24FJ256DA210 Dev Board RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压: