These resources have also been added to the “Pin Manager” window, which you’ll use next. Selecting them will also more information on the parts in the main MPLAB X viewing window.ĭEVELOPER NOTE: While the System Module is selected, ensure that the “Low-voltage programming Enable” checkbox is marked in the main System Module window (Figure 4) this is a requirement when programming 8-bit PIC MCUs within MPLAB X.Īn important observation on the power of MCC is available here, as navigating back to the “Project Resources” window you will find that not only have the two clicks been added to the project, but their required communication peripherals have been as well (Figure 5). From there, double click on “Gyro” and “BLE2”, respectively, to add them to the project. Now in the “Device Resources” window, scroll to the nested “Mikro-E Clicks” list, expand it, and then expand the nested “Sensors” and “Wireless Connectivity” lists (Figure 3). The interface should have defaulted to the “Resource Management ” tab, and the “Project Resources” window should display with the “System Module” option selected. Once MCC is open several windows will appear that allow you to program the device with a few mouse clicks. Xc8 compiler 1.42 code#You are able to do this by clicking the MCC shield in the MPLAB X IDE navigation bar, or by selecting it from the “Tools > Embedded > MPLAB Code Configurator: Open/Close” dropdown menu (Figure 2). Once your new project is selected in the “Project Resources” window to the far left of the MPLAB X dashboard, open MCC. Since completing the 50 in 50 program, Microchip has continued to add support for other MikroElektronika clicks. In essence, the Click boards are treated like any other Microchip peripheral. This really helps accelerate the development process (as you’ll find out), as MCC automatically generates code for various resources in a given MPLAB X project. Xc8 compiler 1.42 how to#Green power (“PWR”) LEDs will illuminate on the Curiosity board and GYRO Click, along with a blue “wake” LED on the BLE2 Click (Figure 1).ĭEVELOPER NOTE: The Curiosity HPC accepts both 3.3 V and 5 V power supplies, but the Mikroelektronika Clicks were only designed to accept 3.3 be sure the jumper next to Curiosity HPC’s power LED is set to 3.3 V before powering up the system so you don’t blow any components – not fun.įire up the MPLAB X IDE and start a New Project (For details on how to complete this process, see “ Look ma, no code! PWM control in under 5 minutes with Microchip Curiosity development board and MPLAB Code Configurator“).Ī primer before diving into configuration is that Microchip engineers recently completed a “50 in 50” program in which they added quick-start library support for 50 MikroElektronika Click directly into MCC over 50 days. Connect one end of a USB 2.0 Mini cable to the Curiosity HPC USB connector and the other end to your desktop to power up your system. Xc8 compiler 1.42 software#
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |