Stacked with psoc101 capsense lesson.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hey guys! Can somebody help me or explain how to solve challenge which was given in the end of  that lesson - https://www.youtube.com/watch?v=v5pba8q9bfM&list=PLIOkqhZiy83F-sOQhHyX8dJjebkWqZA3Y&index=26

   

I stacked on that stage when my text is printing while I hold my finger on button, but task is to print it once and print text when you put off your finger.

Here is my code ex.
 

0 Likes
7 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You will have to remember the last button states to compare with the actual states and react accordingly.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Can you explain me how to do it correctly?

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Can you please post your complete actual project, will make changes easier, To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

I've made some progress but now is another problem. It works just once - prints each command once and after that doesn't react.
Here is project bundle

0 Likes
lock attach
Attachments are accessible only for community members.
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Changed. Not tested, try it.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

that's cool, thx a lot. 

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You are always welcome!

   

 

   

Bob

0 Likes