Closed Jurgen2003 closed 1 year ago
Hello @Jurgen2003
You need to make logic condition like this:
out0.setState(in0.getVoltage() > 0 && in1.getVoltage() > 0 )
Best. @Proto-App javascript is getting clearer and works nice in circuits and with javascript ic too. The circuits smaller informate thanks for your quick and clear response and thanks again for the app language in the last update Greetings jurgen
That's great that JS is useful for you! Best Regards
Best @Proto-App you at. Javascript at the state [out0.setState(in0.getVoltage()>0); ] also assign multiple inputs
For example. Inputs0 must be greater than 0 and inputs1 must also be greater than 0 but not added together
So. out0.setState(in0.getVoltage()>0+in1.getVoltage()>0 ) so iest this is possible. If yes how does it work
Greets jurgen