pcm-3725 pc/104 relay actuator 'a linux 'tan erişim... 1) linux aygıtın hangi I/O adresini kullandığını nasıl öğrenebilirim?
manuldan ek bilgiler, BASE +0 R/O channel 0-7 BASE +1 D/I channel 0-7 A read operation on BASE +1 will read in the value ( 8bits) of the 8 corresponding isolated digital input channels. To access thyese channels on BASIC, use the statement: VALUE = INP(BASE +1) A write operation on BASE +0 will set the desired status ( 1 = ON, 0 = OFF ) on the 8 corresponding relay output channels. To program these channels in BASIC, use the following statement: OUT BASE, XYZ Where XYZ shyould be a number between 0 and 255. The status of the relay output can be monitored by reading back the BASE +0 byte as shown below: STATUS =INP(BASE)
_______________________________________________ Linux-programlama mailing list [email protected] https://liste.linux.org.tr/mailman/listinfo/linux-programlama Liste kurallari: http://liste.linux.org.tr/kurallar.php
