This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

simulate spi

Hi Friends,
i have two problems:

1-i try writting a code in C using atmel 89c52 to simulate spi.does anyone has a helpful code for me?

2-in the program declaration,i declare an array:
int Read_Va[]=0x0D;
when i try to read it during the program:
ACC=Read_Va;

ACC equal A to D why?
Thanks

0