395
Simulation
Capacitive touch sensing cannot be simulated in software like Proteus VSM.
Explanation
In Grace, there is no option to generate configuration for capacitive touch. However, MSP430Ware
demos some examples for such. It is better to use the examples given there for project start up. I did
the same. However, for a beginner it is must to which things to modify and why do so. Implenting
capacitive touch requires three pairs of TI’s HAL library files. These are as follows and are needed to
be integrated with your project:
Of these files, the important files that are needed to be edited to set capacitive touch properties of
capacitive touch sensor(s) are the structure header and source files. The rest two pairs of files should
be left untouched.
In the structure header file, external constant structure named middle_element defines I/O port(s)
properties of capacitive sensor(s). Similarly, one_button defines timer/watchdog properties. These