Reply To: Multi User – PIN CHANGE Event
About › Forums › Forum › Multi User – PIN CHANGE Event › Reply To: Multi User – PIN CHANGE Event
September 26, 2012 at 10:58 AM
#763
soundanalogous
Member
Or are you specifically just trying to get the PWM value? In that case I don’t think it is possible by reading pin.value since the value you set on the PWM pin is only accessible within the client that set the value on the PWM pin. There is a method in IOBoard.js that is currently marked as private that may be able to get the current PWM value from the Arduino. It queries the current pin state directly from the arduino board (although it could have adverse effects which is why it’s currently not exposed in the API). I’m traveling today but will try to test tonight when I’m at home.
- This reply was modified 10 years, 6 months ago by soundanalogous.