资 源 简 介
5045的底层操作程序,使用时根据实际接线情况对程序中管脚定义部分做适当修改
//定义管脚
sbit SCK=P3^4 //时钟
sbit SI=P3^5 //CPU--->5045
sbit SO=P3^5 //5045-->CPU
sbit CS=P3^6 //片选
-5045 underlying operating procedure, when used in accordance with the actual situation on the process of wiring pin to do some appropriate changes to the definition// define pin sbit SCK = P3 ^ 4// clock sbit SI = P3 ^ 5// CPU-