pat01
|
Custom library not workingPosted at:2014-11-23 17:06:03
|
Hey,
I am fairly sure the wiring is right, I'll put it here as well to be sure: MOSI - Data SCK - CLK SS (not the one from the device, this is just a pin I assigned to this job) - SS GND - GND MISO on controller is left floating, tying it to ground or to MOSI doesn't change anything, except that it allows me to read my data back. Tying SS to ground didn't change anything.
http://pastebin.com/i24MQ1hk
I'm not too fund of using a software SPI while I have hardware available, else I'd have copied the library more. Cheers |