전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

DEV-13044 데이터시트(PDF) 7 Page - SparkFun Electronics

부품명 DEV-13044
상세설명  Blocks for Intel짰 Edison - Pi Block
PDF  11 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  SPARKFUN [SparkFun Electronics]
홈페이지  https://www.sparkfun.com/
Logo SPARKFUN - SparkFun Electronics

DEV-13044 데이터시트(HTML) 7 Page - SparkFun Electronics

Back Button DEV-13044 Datasheet HTML 3Page - SparkFun Electronics DEV-13044 Datasheet HTML 4Page - SparkFun Electronics DEV-13044 Datasheet HTML 5Page - SparkFun Electronics DEV-13044 Datasheet HTML 6Page - SparkFun Electronics DEV-13044 Datasheet HTML 7Page - SparkFun Electronics DEV-13044 Datasheet HTML 8Page - SparkFun Electronics DEV-13044 Datasheet HTML 9Page - SparkFun Electronics DEV-13044 Datasheet HTML 10Page - SparkFun Electronics DEV-13044 Datasheet HTML 11Page - SparkFun Electronics  
Zoom Inzoom in Zoom Outzoom out
 7 / 11 page
background image
cat value 
With a button pressed, you should see a 1. When the button is not pressed
you should see a 0. Using the up arrow, you can recall previously run
commands.
C++ Examples
We’re assuming that you’re using the Eclipse IDE as detailed in our Beyond
Arduino tutorial. If you aren’t, you’ll need to go to that tutorial to get up to
speed.
Hardware Connection
Hardware support for this library is simple; one basic red LED and one
momentary pushbutton. We’re using a 2N3904 NPN transistor to drive the
LED, however, as the drive strength of the outputs on the Pi Block is quite
weak. As you can see in the diagram, you’ll also need a couple of 1kΩ
resistors and a single 330Ω resistor.
While we’ve used GPIO45 and GPIO46 in this example, this code can be
used with any of the pins on the Pi breakout. The GPIO to MRAA pin map
can be found in the Resources and Going Further section.
Code
Follow the instructions in the programming tutorial to create a new project
named “SparkFun_Pi_Block_Example”. Once you’ve created the project,
open the “SparkFun_Pi_Block_Example.cpp” file and replace all the
existing code with the code block below.
Page 7 of 11



Html Pages

1 2 3 4 5 6 7 8 9 10 11


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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