Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

C51: SPI bit Banging issue (5 Replies)

$
0
0
hi in my recent project i'm doing bit banging SPI in AT89S52. i am using a self modified library and its not working properly. i cant remember the original page where i found the code, though it was for the PIC's. The data is sending correctly The problem is i am receiving same data which i am sending. take a look at the code. #ifndef buffer #define buffer buf unsigned char bdata buffer; sbit Dbit0=buffer^0; sbit Dbit1=buffer^1; sbit Dbit2=buffer^2; sbit Dbit3=buffer^3; sb

Viewing all articles
Browse latest Browse all 3049

Trending Articles