How should the program be modified so that LED2 only lights up when the number key "1" is pressed? Also, please tell me how to program it to light up when it reaches a certain threshold.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
How should the program be modified so that LED2 only lights up when the number key "1" is pressed? Also, please tell me how to program it to light up when it reaches a certain threshold.
I would suggest you refer to this doc:https://www.ti.com/product/MSP430FR2633?keyMatch=MSP430FR2633&tisearch=search-everything&usecase=GPN
In this part (5.6 Phase 5: Develop Custom Applications ), it will show you how to realize what you want.
Is MSP430FR263x, MSP430FR253x Capacitive Touch Sensing Mixed-Signal Microcontrollers datasheet (Rev. E) ok?
Excuse me, how many pages is part (5.6 Phase 5: Develop Custom Applications)?
If possible, please provide the specific code for your question.
I'm sorry if the sentences are weird as I'm translating with a translator.
Sorry, I put the wrong link. Here is it. https://www.ti.com/lit/ug/slau857a/slau857a.pdf?ts=1695102906651&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FMSP430FR2633&_ticdt=MTY5NTE5NjkyM3wwMTg2YzA4YjNlMWYwMDE2YjA0MGNjNGJkMDg3MDUwNzMwMDI0MDZiMDA5Nzh8R0ExLjIuMjA4ODMwODA1NS4xNjc4MjY3NTk4
It will show you how to use the paramters to tell you the action of captiavte buttons. I think then you just need to toggle the GPIO through the status.
**Attention** This is a public forum