it's because you MUST fix the hardware !
You must install 'logic level ' translation between the SD device and the PIC.
As Mr. T has pointed out the 3v SD can't send a '1' to the 5 v PIC.
NO code you try will work.
You must correct the hardware first THEN the software will work....
It is rather like putting diesel in a petrol car. Will not work, and can cause
damage.
As Jay says, you need to get the hardware right first. Software cannot fix
incorrect hardware. You can either add your own level translation
hardware, or switch to a module that does have this.
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum