Changes between Version 4 and Version 5 of MAX6675


Ignore:
Timestamp:
Mar 18, 2009 3:02:39 AM (12 years ago)
Author:
sgk
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MAX6675

    v4 v5  
    103103setup()
    104104{
     105#ifdef GND
    105106  pinMode(GND, OUTPUT);
     107  digitalWrite(GND, LOW);
     108#endif
     109#ifdef VCC
    106110  pinMode(VCC, OUTPUT);
    107   digitalWrite(GND, LOW);
    108111  digitalWrite(VCC, HIGH);
     112#endif
     113
    109114  Serial.begin(9600);
    110115  SPI_Master.begin(SLAVE);