Minor : Add t and f for true/false.
This commit is contained in:
parent
076fc58545
commit
72dce7118a
BIN
sapin_noel.bin
BIN
sapin_noel.bin
Binary file not shown.
|
@ -45,11 +45,13 @@ let _ =
|
|||
ignore(setupPhys ());
|
||||
(* reg : pin_value = p_v, pin_shift = p_s, pin_apply = p_a *)
|
||||
(* On crée le register *)
|
||||
(* En mode pulse : let reg = genReg 11 13 15 ~pulse:true in *)
|
||||
(* En mode pulse : *)
|
||||
(* let reg = genReg 11 13 15 ~pulse:true in *)
|
||||
let reg = genReg 11 13 15 in
|
||||
(* On initialise *)
|
||||
let leds = initReg reg ~nb_reg:1 in
|
||||
|
||||
let t = true
|
||||
and f = false in
|
||||
Printf.printf "Début\n%!";
|
||||
(* And a pretty animation *)
|
||||
anim_01 reg leds max_int;
|
||||
|
|
Loading…
Reference in New Issue