hi all,
setting the address of the card to different addresses using the mini jumper-DONE
defining the addresses in your program to match the addresses set by mini jumper-DONE
calling the function, every function include an address when we call it, the address in the function need to be correct, match the address set previously-DONE
others card also function and working properly. Just the 2nd card of BH card are not function. i also already change a new BH card for trouble shot. but still facing the same problem. Maybe i can email it my program to moderator to help me?. Being troubleshot already a week.
this is list of card that i used:
IFC-CP04
IFC-BH02-b000111
IFC-DI08-b000100
IFC-PS01-b010101
IFC-BL02 -b000011
IFC-BH02- b000001
IFC-MB00
IFC-PC00
//=====================================================================================
// include h file for cards
// User has to include h file for all the cards used
//=====================================================================================
#include<p18f2685.h>
#include "iic.h"
#include "iic_bl.h" //include header file for IFC-BL02
#include "iic_cp.h" //include header file for IFC-CP04
#include "iic_ps.h" //include header file for IFC-PS01
#include "iic_bh.h"
#include "iic_di.h"
#include "iic_rs.h"
//=====================================================================================
// card address
// User can define the address of slave card here
//=====================================================================================
#define ps1_add 0b010101 //define address for PS controller card
#define add_bl1 0b000011
#define add_bh1 0b000001 //define address for dual brush card 1
#define add_bh2 0b000111 //define address for dual brush card 2
#define add_di1 0b000100
I already confirmed that address at the card are same.
thank you.