Skip to content
Snippets Groups Projects
Commit 369b27a0 authored by Marcus Greiff's avatar Marcus Greiff
Browse files

add precompilatoin of the PWM read/write

parent 076696cf
No related branches found
No related tags found
No related merge requests found
Pipeline #722 failed
...@@ -46,15 +46,14 @@ function precompile_bb() ...@@ -46,15 +46,14 @@ function precompile_bb()
# Precompile GPIO # Precompile GPIO
gpio = initdev("gpio",Int32(1)) gpio = initdev("gpio",Int32(1))
write!(gpio, (Int32(1), "1"), debug) write!(gpio, (Int32(1), "1"), debug)
closedev("gpio", Int32(1)) closedev("gpio", Int32(1))
#read(gpio, ind, args, debug) #read(gpio, ind, args, debug)
# TODO activate when pwn is working # TODO activate when pwn is working
# Precompile PWM pwm = initdev("pwm",Int32(1))
#pwm = initdev("pwm", Int32(1)) write!(pwm, (Int32(1), "1"), debug)
#write!(pwm, (Int32(1),"1"), debug) closedev("pwm", Int32(1))
#Do read/write to file #Do read/write to file
val = true val = true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment