Output ports only 2.4-2.5V; is it broken?

Hi all, my 3.3V output on my sparkfun imp Breakout is working flawlessly, any output port seems to give between 2.46V and 2.49V. What can be the reason for this? Worked fine yesterday…

How are you configuring a pin?

`// Blink-O-Matic example code with remote control

// Variable to represent LED state
ledState <- 0;

// Variable to represent LED inhibit state
inhibit <- 0;

// blink function called every 100ms
function blink()
{
// Check if we’ve been switched off
if(inhibit)
{
// Blinking inhibited, turn off the LED
hardware.pin9.write(0);
}
else
{
// Change state
ledState = ledState?0:1;

    // Reflect state to the pin
    hardware.pin9.write(ledState);

    // Schedule the next state change
    imp.wakeup(3.0, blink);
}

}

// input class for LED control channel
class input extends InputPort
{
name = "LED control"
type = “number”

function set(value)
{
if(value == 0)
{
// 0 = Inhibit LED operation
inhibit = 1;
}
else
{
// 1 = Enable LED operation
inhibit = 0;
blink();
}
}
}

// Configure pin 9 as an open drain output with internal pull up
hardware.pin9.configure(DIGITAL_OUT_OD_PULLUP);

// Register with the server
imp.configure(“Blink-O-Matic”, [input()], []);

// Start blinking
blink();

// End of code.gfdgf`

Just the default example; strangely enough, didn’t change the code between yesterday and today…

If you want the pin to drive high, you should configure it as DIGITAL_OUT, not DIGITAL_OUT_OD_PULLUP which only pulls weakly high (and hard low).

Bizar that it has worked for a couple days and then abruptly doesn’t anymore. Changed the code, which did the trick! Brilliant, thanks!