If you want to further process the values coming from the Slider widget, virtual pins are your best friends:
- First, go to edit mode by tapping the stop icon on the toolbar.
- Tap GP18 under OUTPUT. Choose Virtual from the left-hand side list and V1 from the right-hand side list (this is the only pin available on Raspberry Pi for PWM). Then, tap OK.
- The maximum value for OUTPUT should be 1023.
- Now, your Slider Settings page should look as follows:
- Tap the back icon to go to the canvas.
- Connect to your Raspberry Pi using PuTTY and open the main.cpp file using nano.
- Modify the ...