Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 8th, 2012  |  syntax: None  |  size: 0.58 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /**
  2.  * The DATA_IN pin
  3.  */
  4. #define DATA_PIN 8
  5.  
  6. /**
  7.  * The DIMM_IN pin should be pulled to LOW to enable display,
  8.  * also used for brightness with PWM (using analogWrite())
  9.  */
  10. #define DIMM_PIN 9
  11. //11
  12.  
  13. /**
  14.  * The CLK_IN pin
  15.  */
  16. #define CLK_PIN  10
  17.  
  18. /**
  19.  * DS18B20 data wire is plugged into port 7 on the Arduino
  20.  */
  21. #define ONE_WIRE_BUS 7
  22.  
  23. /**
  24.  * DS18B20 Power pin is connected on pin A3
  25.  */
  26. #define ONE_WIRE_POWER A3
  27.  
  28. /**
  29.  * Brightness potientiometer pin is connected on pin A1
  30.  */
  31. #define BRIGHTNESS_POT_PIN A1
  32.  
  33. #define SQW_INTERRUPT_PIN 2
  34.  
  35. #define PIN_TEMP_ONLY 5
  36.  
  37. #define PIN_CLOCK_ONLY 4