I am using the most basic form to set a digital output on pin A5 to HIGH but with a volt meter i am only getting 2.8v not 3.3v as the device states for digital high output.
FYI a reading off the 3v3 pin shows 3.3v perfectly.
Is there anything i need to set extra to get 3.3v as the output with digitalWrite(led, HIGH); ?
GPIO pins on the Boron can only drive about 15mA. If your load is too strong it will overwhelm the output stage of the GPIO and consequently the voltage will "collapse" and your GPIO will eventually get fried.
You need a current limiting resistor for your LED.
Depending on colour your LED will have a specific forward voltage. Subtract that from 3.3V and get the voltage drop you will have to deal with through the current limiting resistor and calculate the value for the resistor according to Ohm's law to get the desired current through LED & resistor (e.g. 10mA).