-->
Page 1 of 1

From normally closed to normally open

PostPosted: Tue Jan 04, 2022 7:00 am
by mevero
In my new project I am using the old program the buttons only this time I use a switch with is normally closed.
Code attached in VoorNC.jpg

How can I reprogram the code so this work.!!

Re: From normally closed to normally open

PostPosted: Wed Jan 05, 2022 7:48 am
by rpiloverbd
Actually, it's not always easy to tell without seeing the CKT diagram... when you upload the existing code to your new circuit, what result are you getting?

Re: From normally closed to normally open

PostPosted: Sat Jan 08, 2022 5:39 am
by eriksl
This looks like Python but I am guessing. Isn't it better to ask your question in the section of the SDK you're using? Doesn't look like a real hardware question. If it is, I'd say: use an inverter ;)