MBSP

Microcontroller Board Support Package

User Tools

Site Tools


digital_out

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
digital_out [ 02.12.2024 00:19] larsdigital_out [ 17.08.2025 05:46] (current) – removed lars
Line 1: Line 1:
-====== Digital out ====== 
  
-===== API ===== 
-The part "signal_name" in the described functions will be replaced by the name of the signal. E.g. if your signal is called "debug_led" then the API function "signal_name_on" will become "debug_led_on". 
- 
-<code>void signal_name_on(void)</code> 
-Will set the output pin to output a high Signal. The pin will be at Vcc. 
-If the signal has the "invert" property "on" then the Output will be Low (Gnd). 
- 
- 
-<code>void signal_name_off(void)</code> 
-Will set the output pin to output a low Signal. The pin will be at Gnd. 
-If the signal has the "invert" property "on" then the Output will be High (Vcc). 
digital_out.1733098760.txt.gz · Last modified: by lars