From 1411694a9e323d000675a02cf89f801bfe4565f0 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 1 Apr 2023 14:04:51 +0200 Subject: docs/new-fixture.rst: Remove old quoting --- docs/new-fixture.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/new-fixture.rst b/docs/new-fixture.rst index 7a5b999..dc55601 100644 --- a/docs/new-fixture.rst +++ b/docs/new-fixture.rst @@ -132,10 +132,10 @@ Here is the code:: ;; List of attributes (fixture-attributes - (attr-continuous 'intensity '(0 100) 0) - (attr-continuous 'colour-temperature '(2800 6400) 3200) - (attr-list 'strobe '(#f #t) #f) - (attr-continuous 'strobe-frequency '(1 25) 1)) + (attr-continuous intensity '(0 100) 0) + (attr-continuous colour-temperature '(2800 6400) 3200) + (attr-list strobe '(#f #t) #f) + (attr-continuous strobe-frequency '(1 25) 1)) ;; Scanout code follows @@ -143,18 +143,18 @@ Here is the code:: (set-chan8 4 0) ;; Set strobe channel - (if (get-attr 'strobe) + (if (get-attr strobe) (set-chan8 3 (scale-and-clamp-to-range - (get-attr 'strobe-frequency) + (get-attr strobe-frequency) '(1 25) '(16 255))) (set-chan8 3 0)) ;; Set intensity channel - (set-chan8 5 (percent->dmxval8 (get-attr 'intensity)))) + (set-chan8 5 (percent->dmxval8 (get-attr intensity)))) ;; Set values of warm and cold LEDs according to colour temperature - (let ((coltemp (get-attr 'colour-temperature))) + (let ((coltemp (get-attr colour-temperature))) (set-chan8 1 (scale-and-clamp-to-range coltemp '(2800 6400) '(0 255))) (set-chan8 2 (scale-and-clamp-to-range coltemp '(2800 6400) '(255 0)))) -- cgit v1.2.3