전체상품목록 바로가기

본문 바로가기


현재 위치
  1. home
  2. community
  3. 기술문의 :)

기술문의 :)

기술문의 게시판 입니다.

상품 게시판 상세
subject Example > Basics > AnalogReadSerial 예제를 참고 하세요
writer 아트로봇 (ip:)
  • date 2013-06-07 10:59:01
  • like 추천하기
  • view 71
rating 0점

안녕하세요

 

아날로그 출력되는 제품은 아날로그 입력 명령한줄만으로 센서값 인식이 가능합니다.

가령,  아두이노 IDE에 이미 기본 포함된 Example >  Basics >  AnalogReadSerial 예제를  참고 하실 수 있습니다.

 

// the setup routine runs once when you press reset:
void setup() {
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
}

// the loop routine runs over and over again forever:
void loop() {
  // read the input on analog pin 0:
  int sensorValue = analogRead(A0);
  // print out the value you read:
  Serial.println(sensorValue);
  delay(1);        // delay in between reads for stability
}

 

 

아트로봇 드림

 


---------- Original Message ----------

 예제파일없나요??

file
password 삭제하려면 비밀번호를 입력하세요.
댓글 수정

password :

/ byte

비밀번호 : 확인 취소

댓글 입력

commentsname : password : 관리자 답변 보기

/ byte

왼쪽의 문자를 공백없이 입력하세요.(대소문자구분)

회원에게만 댓글 작성 권한이 있습니다.

관련 글 보기

관련글 모음
번호 상품명 제목 작성자 작성일 조회
16438 [TA1063] 마이크 프리 앰프 - 사운드 센서 (Electret Microphone Amplifier - MAX4466 with Adjustable Gain) 납땜문의 김진아 2017-09-02 344
16439 [TA1063] 마이크 프리 앰프 - 사운드 센서 (Electret Microphone Amplifier - MAX4466 with Adjustable Gain) 납땜문의 아트로봇CT 2017-09-02 449
15624 [TA1063] 마이크 프리 앰프 - 사운드 센서 (Electret Microphone Amplifier - MAX4466 with Adjustable Gain) 상품문의 장선아 2016-05-09 3
15626 [TA1063] 마이크 프리 앰프 - 사운드 센서 (Electret Microphone Amplifier - MAX4466 with Adjustable Gain) 상품문의 아트로봇CT 2016-05-10 2
15546 [TA1063] 마이크 프리 앰프 - 사운드 센서 (Electret Microphone Amplifier - MAX4466 with Adjustable Gain) 재고보유?? 신대영 2016-04-08 429