Go to advanced search

by isan
Tue Nov 24, 2015 3:20 pm
Forum: C/C++
Topic: control with wire as button
Replies: 4
Views: 685

Re: control with wire as button

why you do this int d=wait - start , is it true cast long in int??
by isan
Tue Nov 24, 2015 2:31 pm
Forum: C/C++
Topic: control with wire as button
Replies: 4
Views: 685

Re: control with wire as button

tnx and what is difference between bool and Boolean ?? can use bool instead of Boolean in code??
by isan
Tue Nov 24, 2015 5:43 am
Forum: C/C++
Topic: control with wire as button
Replies: 4
Views: 685

control with wire as button

I have one wire that pullUpDnControl(button_pin, PUD_UP); in raspberry gpio pin ,I want if connect to gpio pin and then connect ground pin (like button)do something if in <10000 millisecond wire connect and do something else if in >10000 millisecond wire connect,I write this code but doesn't change ...

Go to advanced search