Products/BlueSense Processing/PWM outputs
From BlueMelon
This example configures four ports of a BlueSense open collector output module as a PWM outputs. PWM can be used to control the strength of a signal. The following example can be used to dim up to four LEDs. The brightness of LEDs A1 and A2 are coupled to the x and y coordinate of the mouse. When the left mouse button is pressed LEDs A3 and A4 are controlled.
For more information on PWM refer to PWM explained.
Code
bluesense/src/processing/Mood_LED_PWM.pde
| BM7002 Bluesense digital outputs 16 open collector digital outputs (with PWM support) | € 69,- |


