Changed the bitwise OR.

Dependents:   I2CTester

main.cpp

Committer:
Lerche
Date:
2010-08-25
Revision:
0:37337b5a13c0

File content as of revision 0:37337b5a13c0:

#include "mbed.h"
#include "PCF8575.h"

PCF8575 PCF(p9, p10, 0x40);
int kvar;


int main() {
        PCF.write(0xFFFF);
        kvar = PCF.read();
}