Page 1 of 1

LEDFowardVoltage

Posted: Sat Sep 29, 2018 2:32 pm
by Pofm84
I'm trying to change the foward voltage of my Phidget LED64-Advanced in max7 from 2.75v to 5v but the PhidgetDigitalOutput keep giving me a bad arguments error message (I get the same error with the maxhelp file. Is there a other way I can get the board to send 5v by default?

Many thanks

Re: LEDFowardVoltage

Posted: Tue Oct 02, 2018 10:17 am
by jdecoux
You can set the LED forward voltage to 5.0V using the message:

Code: Select all

setLEDForwardVoltage LED_FORWARD_VOLTAGE_5_0V


To find the names of other values, you can navigate to the Phidget API, and select Max/MSP and your device from the drop-down menus. Then look under Enumerations.

LEDForwardVoltage.PNG