Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

DFR0604 Datasheet(PDF) 10 Page - DFROBOT

Part # DFR0604
Description  IO Expansion HAT for Pi Zero/Zero W
PDF  13 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  DFROBOT [DFROBOT]
Direct Link  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0604 Datasheet(HTML) 10 Page - DFROBOT

Back Button DFR0604 Datasheet HTML 5Page - DFROBOT DFR0604 Datasheet HTML 6Page - DFROBOT DFR0604 Datasheet HTML 7Page - DFROBOT DFR0604 Datasheet HTML 8Page - DFROBOT DFR0604 Datasheet HTML 9Page - DFROBOT DFR0604 Datasheet HTML 10Page - DFROBOT DFR0604 Datasheet HTML 11Page - DFROBOT DFR0604 Datasheet HTML 12Page - DFROBOT DFR0604 Datasheet HTML 13Page - DFROBOT  
Zoom Inzoom in Zoom Outzoom out
 10 / 13 page
background image
print("channel:A2, value:%d" %val2)
print("channel:A3, value:%d" %val3)
'''
print("")
time.sleep(1)
The function board.get_adc_value() in the example is used to get the value of analog
port, the pin selection list is shown below:
Analog Pin of IO expansion board
Value of the parameter
0
0
1
1
2
2
3
3
All Pins
board.ALL
•
Digital: the usage of the digital ports are same with the ways to use GPIO ports of
Raspberry Pi. Download the RPi.GPIO first. Input the command on Raspberry Terminal:
sudo apt-get install rpi.gpio
Input the following command to check is the RPi.GPIO library is installed successfully:
gpio.readall
If all pins are displayed on the terminal, the library installation succeeds.
Take GPIO16 as an example. Connect a LED on P27 of the expansion board.
Input the following sample code into nano editor, input python to run the program:
# -*- coding:utf-8 -*-
# digitalTest.py



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com