-
Syllabus
-
Reference to PIC Microcontrollers
- MCC Melody API Ref
-
AVR Getting Started Use Cases 2 min
- MCC Melody UART Driver
-
Relevant Links
-
Printf with Variable Counter 4 min
-
Write String 4 min
-
Control Commands 3 min
-
Interrupt Driven Comms 4 min
-
Mirror Back Typed Characters 4 min
- AVR Timer Counter
-
Relevant Links
-
100ms Timer 5 min
-
100ms / 500ms Toggle Button 5 min
- Data Streamer
-
Relevant Links
-
Continuously Sending Frames 8 min
-
Using a Custom Struct 6 min
-
Send Frames on Timer PeriodC3M3_Timer
- AVR RTC
-
Relevant Links
-
100ms LED blink every 1s 4 min
-
Event System on Compare, IRQ on Period 5 min
-
Using the PIT - to wake up and with EVSYS 8 min
-
Sleep 3s, Wake 1s, Toggle LED at 50ms 7 min
- AVR ADC
-
Relevant Links
-
Basic Conversation with IO View / Printf 8 min
-
Using Accumulator Mode & Data Streamer 9 min
-
Windowed samples, started by RTC Callback 7 min
-
Using Event System to Start Conversions 3 min
- Your Feedback
-
We need Your Feedback!
MCC Melody API Reference for AVR® MCUs
MCC Melody components are the collective name for the provided libraries, drivers, Peripheral Libraries (PLIBs) and Hardware Initializers (HWIs). For select components, the MCC Melody API references now include a “How to use the …” sections, which are a series of use cases. (Jan 2023)
Evolved from MCC Classic, MCC Melody offers an improved and flexible architecture to easily configure devices, peripherals and libraries and generate code, for the development of embedded software for our PIC® and AVR® MCUs and dsPIC® Digital Signal Controllers (DSCs).
MCC Melody components are the collective name for the provided libraries, drivers, Peripheral Libraries (PLIBs) and Hardware Initializers (HWIs). For select components, the MCC Melody API references now include a “How to use the …” sections, which are a series of use cases. [For now, these have been added to the MCC Melody API references for AVR and PIC16F/18F microcontroller families].
Use-cases comprise of configuration instructions and associated code snippets. By pairing the configuration instructions with a particular board schematic, the use cases are designed to be flexible enough to run on a range of supported devices.
This course of videos shows practically how to run and test these MCC Melody component use cases. After getting a feeling for how the configuration instructions pair with the board schematic and code snippets, intermediate users should be able to run the use cases without the needing to watch the videos.
Note: MCC Melody is evolving and improving. While the videos show a high level of running each use case, the configuration instructions and code snippets in the related API reference should always be used, when running the use cases.