, indicating high and low levels. For example, RPi.GPIO.output (1, 1) indicates that the 1th pin is set to high, and RPi.GPIO.output (3, flase) indicates that the 3rd PIN is set to low. Exactly which number is the root depends on what is set in SetMode ().RPi.GPIO.input (channel)Gets the level bricks that will be labeled as channel pins. The channel value is 1~26. For example, RPi.GPIO.input (1) indicates that the state of the 1th pin is obtained.RPi.GPIO.cleanup ()Clears the state of the RPi.GP
Digital TV-DTV is no longer a new thing for us. On-board electronics, DTV mostly exists independently in the form of modules and is configurable. In the on-board market, the customer's needs are diverse. If DTV is used as the on-board navigation main PCB, it is still not flexible. If DTV is not used, it must be different PCB boards, this is not a good solution for after-sales maintenance and development.
DTV is at home, and we usually operate through the remote
Digital TV-dtv for us is already not a new thing, in the car electronic DTV mostly in the form of modules independent existence, is worthy. In the car market, customer demand is diverse, if the DTV also do car navigation main PCB up, or not flexible, do not have to DTV is different PCB board, which for after-sale maintenance, development is not a good way.
DTV at home, we are generally through the remote control to operate, of course, now some Androi
During the project development, we need a USB-to-relay device to control the wireless transmitter device when the switch is enabled. When purchasing the device, the sourcing department buys a batch of devices without knowing the operating environment of the relay device, later, we found that the device manufacturer only provides the Windows library, and we want t
Case Description: "Light control Project" in the single-chip microcomputer through the IO port control relay, relay access to GPRS circuit board power supply, so as to achieve the single-chip microcomputer on the GPRS circuit board switch control
Circuit diagram
. waitForAttach (10000)Step 3: perform operations on the deviceSelf. device. setOutputState (output, 1)Step 4: disable the deviceSelf. device. closePhidget ()Actual operationMaterials on handPhidget board: The model is 1014_2 (actually four relay) and can be used as a switch control line.Xiaomi fan: Available on Xiaomi official website, 19 items.USB cable: longer cables are better, saving you a lot of troub
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.