From: David Schleef Date: Sun, 15 Jul 2001 23:52:13 +0000 (+0000) Subject: Add a few comments about recent changes in demos X-Git-Tag: r0_7_16~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6e9354dc5d54e42ea4f4607809e2151fa919a0a4;p=comedilib.git Add a few comments about recent changes in demos --- diff --git a/demo/README b/demo/README index e9846aa..4e9c164 100644 --- a/demo/README +++ b/demo/README @@ -17,6 +17,7 @@ other demos. The perl subdirectory contains a few examples for the perl wrapper. + DEMO PROGRAMS: ao_waveform: @@ -31,7 +32,9 @@ common: cmd: An example for directly using Comedi commands. Comedi commands are used for asynchronous acquisition, with the timing controlled - by on-board timers or external events. + by on-board timers or external events. If this demo doesn't work + with your hardware, read the comments in the source. Hint: data + is written to stdout, comments to stderr. dio: Requirements: A board with a digital I/O subdevice. Not just @@ -68,7 +71,8 @@ ledclock: mmap: This example shows how to map the internal Comedi buffer and directly access samples instead of using read() and - write(). + write(). This is very similar to cmd.c, so look there for + comments on most of the code. outp : Write one to one channel of one subdevice. Requires