Skip to content

Commit

Permalink
Temperature sensor Implemented on Tiva 129 (To test)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ax committed Apr 2, 2014
1 parent 601de9d commit d910353
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hardware/lm4f/variants/launchpad_129/pins_energia.h
Expand Up @@ -186,6 +186,7 @@ static const uint8_t PB_1 = 95; // unrouted
// pushbuttons
#define PUSH1 PJ_0
#define PUSH2 PJ_1
#define TEMPSENSOR 0

#define USR_SW1 PJ_0
#define USR_SW2 PJ_1
Expand Down Expand Up @@ -861,7 +862,7 @@ const uint8_t digital_pin_to_bit_mask[] = {
};

const uint32_t digital_pin_to_analog_in[] = {
NOT_ON_ADC, // dummy
ADC_CTL_TS, // 00 - Temperature Sensor
NOT_ON_ADC, // 01 - 3.3v X8_01
ADC_CTL_CH9, // 02 - PE_4 X8_03
NOT_ON_ADC, // 03 - PC_4 X8_05
Expand Down

0 comments on commit d910353

Please sign in to comment.