... I downloaded the i2c libray for the PCF8574 on the arduino site.
but when i upload to my board, ...
Before we can really offer anything other than a guess we will need some more information about your board and a link to the specific library that you used.
Don