User Tools

Site Tools

한국어

comfilepi:controlling_the_lcd_backlight:index

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
comfilepi:controlling_the_lcd_backlight:index [2023/09/19 14:32]
COMFILE Technology [Bash Script Implementation]
comfilepi:controlling_the_lcd_backlight:index [2023/09/19 14:33]
COMFILE Technology [Bash Script Implementation]
Line 263: Line 263:
 <code bash> <code bash>
 #!/bin/bash #!/bin/bash
- 
-export DISPLAY=":​0.0"​ 
  
 PWM_PIN=31 PWM_PIN=31
Line 270: Line 268:
  
 # Set pins as output # Set pins as output
-gpio mode $PWM_PIN ​output +raspi-gpio set $PWM_PIN ​op 
-gpio mode $PIN output+raspi-gpio set $PIN op
  
 # Start with both pins HIGH.  If either of the # Start with both pins HIGH.  If either of the
comfilepi/controlling_the_lcd_backlight/index.txt · Last modified: 2023/12/06 10:00 by COMFILE Technology