-
Notifications
You must be signed in to change notification settings - Fork 1
Software
CDP Technologies edited this page Sep 8, 2017
·
2 revisions
Follow the video tutorial to see:
- We go through the setup and wiring of the Raspberry Pi, create a system, add GPIO and configure the pins
- Deploy to the RPI to verify that all is set up and wired correctly by toggling LED’s on and off from the Configuration Mode
- We create a LED controller component that includes a state machine with 4 different states of operation
- We build our library, add our new LEDController to our application
- We setup the GPIOPins to use values from our new LEDController using the routing system
- We create a GUI in the Design Mode to communicate and control our application
- The GUI consists of buttons for changing between the states, include a small visualization of the LEDs and set up the routing for all GUI widgets. The buttons communicate with the LEDController using messages
- Looking at the completed system we notice that the LED visualization in the GUI does not display the correct colours
- We fix this by applying scaling operators to the output signals of our LEDController component