ds1620 digital thermometer question


i'm trying make device work: http://www.maximintegrated.com/datasheet/index.mvp/id/2735

the wiring easy, don't understand how make sketch work. requires library , never used 1 before , seems i'm doing wrong. appreciate kind help!

sketch: http://wiki.thinkhole.org/ds1620
library required: https://github.com/thinkhole/arduino-ds1620

1. quit arduino

2. unzipped library ~/documents/arduino/libraries/ds1620/ (it's mac, see attachment)

3. put example sketch ~/documents/arduino/ds1620_example/ds1620_example.pde

4. open sketch arduino app , when try verify gives me error.

it highlighst part in code:
code: [select]
// call ds1620 constructor using pin variables
ds1620 d = ds1620(dq, clk, rst);


and gives error below:
code: [select]
ds1620_example.pde:50:20: error: ds1620.h: no such file or directory
ds1620_example:58: error: 'ds1620' not name type
ds1620_example.pde: in function 'void setup()':
ds1620_example:67: error: 'd' not declared in scope
ds1620_example.pde: in function 'void loop()':
ds1620_example:88: error: 'd' not declared in scope

ds1620.h not ds1620.h


Arduino Forum > Using Arduino > Sensors > ds1620 digital thermometer question


arduino

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

Rasperry Wifi LAN Controller - Raspberry Pi Forums

Unlock car with bluetooth and car key