mini board PCU9669 (and PCA9665) sample code
Dependencies: mbed PCU9669 utility PCA9665 I2C_slaves parallel_bus
Fork of mini_board_PCU9669_old by
Sample code for PCU9669 (PCU9661, PCA9663, PCA9661 and PCA9665) evaluation board.
PCU9669 evaluation board: Mini board PCU9669
User manual is available -> http://www.nxp.com/documents/user_manual/UM10580.pdf
Diff: main_PCA9665.c
- Revision:
- 3:42f933bd12b3
- Parent:
- 0:de9a15767563
- Child:
- 4:c50d5596cb47
--- a/main_PCA9665.c Wed Mar 21 02:18:02 2012 +0000 +++ b/main_PCA9665.c Wed Mar 21 05:44:39 2012 +0000 @@ -104,8 +104,8 @@ i2c_write( PCx9955_ADDR0, &PCx9955_reg_read_start_address, sizeof( PCx9955_reg_read_start_address ), NEXT_RESTART ); i2c_read( PCx9955_ADDR0, read_buffer, sizeof( read_buffer ), STOP ); - if ( !(count % 256) ) - i2c_write( PCA9629_ADDR5, PCx9629_reg_data, sizeof( PCx9629_reg_data ), STOP ); +// if ( !(count % 256) ) +// i2c_write( PCA9629_ADDR5, PCx9629_reg_data, sizeof( PCx9629_reg_data ), STOP ); // dump_read_data( read_buffer, sizeof( read_buffer ) );