File: get-scope.help.tcl

package info (click to toggle)
din 5.2.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,200 kB
  • sloc: cpp: 9,369; sh: 6,563; ansic: 2,977; tcl: 1,770; makefile: 283
file content (15 lines) | stat: -rw-r--r-- 397 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
set get-scope(name) get-scope
set get-scope(short) gsco
set get-scope(purpose) {get oscilloscope channel color}
set get-scope(invoke) {get-scope OR gsco <channel>}
set get-scope(help) {
  channel can be:

    left OR l
    right or r

  prints r g b values in range 0 to 1
  }
set get-scope(examples) {
  get-scope left ;# returns color of left channel on oscilloscope
  1 0 0 ;# sample response}