Skip to content

Commit

Permalink
MPAE-7341 update metadata and readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusnicolae committed Sep 15, 2020
1 parent 872f457 commit a1a282b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .main-meta/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"version": "1.0.3",
"displayName": "Using TMR0 in 16-bit Mode with Periodic Interrupt",
"projectName": "pic18f47q10-cnano-tmr0-16bit-sleep-int-bare",
"shortDescription": "Using TMR0 configured in 16-bit mode with sleep operation and interrupt wake-up",
"shortDescription": "This example describes how to configure TMR0 in 16-bit mode and generate an overflow interrupt every ten seconds, using LFINTOSC as clock source. TMR0 is running while the microcontroller is in Sleep mode. A GPIO is toggled every 100 ms.",
"ide": {
"name": "MPLAB X",
"semverRange": ">=5.30.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
This repository contains an example of bare-metal source code for TMR0 as described in [*TB3285 - Getting Started with Timers/Counters on PIC18*](https://www.microchip.com/wwwappnotes/appnotes.aspx?appnote=en1003329) document from Microchip.

This example describes how to configure TMR0 in 16-bit mode and generate an overflow interrupt every ten seconds,
using LFINTOSC as clock source. TMR0 will run while the microcontroller is in Sleep mode.
using LFINTOSC as clock source. TMR0 is running while the microcontroller is in Sleep mode.

A GPIO pin (the development board’s on-board LED) will be configured as output and when the interrupt occurs, the microcontroller is woken up, the LED is lit for 100 ms and then the microcontroller is put back in Sleep mode.

Expand Down

0 comments on commit a1a282b

Please sign in to comment.