Skip to content

Commit

Permalink
MPAE-16007: Removed TODO line and updated metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel Thompson authored and Nathaniel Thompson committed Nov 8, 2023
1 parent 6410f0f commit 7c5cced
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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 @@ -20,7 +20,7 @@
],
"dfp": {
"name": "PIC16F1xxxx_DFP",
"semverRange": "^1.21.368"
"semverRange": "^1.22.376"
},
"configurator": {
"name": "MCC",
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ Then, go to **Project Resources** -> **Pins** and check that the ADCC input pin

After configuring the peripheral and enabling interrupts for it generate the application code. Go into the `main.c`. Enable interrupts by uncommenting `INTERRUPT_GlobalInterruptEnable();` and `INTERRUPT_PeripheralInterruptEnable();`.

Note: Peripheral Interrupts for the PIC16F18076 may be used to wake the device from Sleep by only enabling peripheral interrupts, but are unable to execute tasks from the ISR as mentioned. (TODO: !!!Run Test on this to verify!!!)

Include the function call `TMR2_Start();` in the main function before the while loop to start the ADCC. Then add instructions for Sleep mode and to blink the LED. An optional while statement to keep the device awake while the ADCC result is above the threshold result was included below.

Expand Down

0 comments on commit 7c5cced

Please sign in to comment.