SinelaboreRT Header Logo

SinelaboreRT

As simple as possible, but not any simpler!

User Tools

Site Tools


wiki:examples:pic_tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wiki:examples:pic_tutorial [2019/05/01 21:14] pmuellerwiki:examples:pic_tutorial [2019/05/01 21:18] pmueller
Line 5: Line 5:
   * [[https://www.oracle.com/technetwork/java/javase/downloads/index.html|Java installation]]   * [[https://www.oracle.com/technetwork/java/javase/downloads/index.html|Java installation]]
   * [[https://www.microchip.com/mplab/mplab-x-ide|MPLab X IDE]]   * [[https://www.microchip.com/mplab/mplab-x-ide|MPLab X IDE]]
-  * Sinelabore//RT// demo +  * [[wiki:download|Sinelabore demo]] 
-  * Graphviz (for editing the state machine)+  * [[https://graphviz.gitlab.io/download/|Graphviz (for editing the state machine)]]
  
 For this tutorial we will use just the push botton and the LED on the board. So you can follow it without any additional hardware required. The LED shall blink all the time. The frequency can be changed from slow to fast by pressing the button. Simple enough but sufficient to show all the key concepts we are going to use. For this tutorial we will use just the push botton and the LED on the board. So you can follow it without any additional hardware required. The LED shall blink all the time. The frequency can be changed from slow to fast by pressing the button. Simple enough but sufficient to show all the key concepts we are going to use.
Line 72: Line 72:
  
 ===== Step 3 - Integrating the state machine in MPLAB X ===== ===== Step 3 - Integrating the state machine in MPLAB X =====
-The generated state machine code files can be easily added to the PIC project. It is recommended to create a new folder e.g. called ''state_machine_generated_files''. All state machine related files go in there. +The generated state machine code files can be easily added to the PIC project. It is recommended to create a new folder e.g. called ''state_machine_generated_files'' All state machine related files go in there. ''sm.scc'' contains the state machine model. ''sm.c/h'' contains the generated state machine code.
  
 The following figure shows the project tree with all generated files. The following figure shows the project tree with all generated files.
wiki/examples/pic_tutorial.txt · Last modified: 2022/08/17 19:43 by pmueller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki