Hi Gordon and DrAzzy,
there is no reason to use "mode" (at startup i dont know about the mode in SPI class .. )
That's why i modified in "jshSPISetup()". I can use mode there is no problem..
Coming to C code which i have attached, it is "KEIL" project... i am using that project just to write in to M25p16... as a Reference i am using.... (even we can read using that project)....
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi Gordon and DrAzzy,
there is no reason to use "mode" (at startup i dont know about the mode in SPI class .. )
That's why i modified in "jshSPISetup()". I can use mode there is no problem..
Coming to C code which i have attached, it is "KEIL" project... i am using that project just to write in to M25p16... as a Reference i am using.... (even we can read using that project)....