Browse Source

Enable VREF on K66

fixes #145
teensy4-core
PaulStoffregen 8 years ago
parent
commit
de0677a6e0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy3/analog.c

+ 1
- 1
teensy3/analog.c View File

{ {
uint32_t num; uint32_t num;


#if defined(__MK20DX128__) || defined(__MK20DX256__)
#if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
VREF_TRM = 0x60; VREF_TRM = 0x60;
VREF_SC = 0xE1; // enable 1.2 volt ref VREF_SC = 0xE1; // enable 1.2 volt ref
#endif #endif

Loading…
Cancel
Save