![]() |
Kinetis SDK v.1.2 Demo Applications User's Guide
Rev. 0
Freescale Semiconductor, Inc.
|
#include <stdio.h>
#include "board.h"
#include "fsl_os_abstraction.h"
#include "fsl_tsi_driver.h"
#include "fsl_debug_console.h"
Macros | |
#define | TSI_THRESHOLD_SAMPLING |
#define | TSI_INSTANCE |
Functions | |
int | main (void) |
TSI control a LED. More... | |
#define TSI_INSTANCE |
#define TSI_THRESHOLD_SAMPLING |
int main | ( | void | ) |
Function prototype for main function.
This function demonstrates how to use touch sensor interface. When touching platform, a LED is turned on.
Average TSI value of untouched state