S Schnarcher Member Licensed User Longtime User Nov 20, 2016 #1 Hello Erel, is it posible to implement a SPI Library. I try it but it is to difficult for me. Thank for the Help Greetings Schnarcher
Hello Erel, is it posible to implement a SPI Library. I try it but it is to difficult for me. Thank for the Help Greetings Schnarcher
W whcir Member Licensed User Longtime User Nov 21, 2016 #2 Schnarcher said: Hello Erel, is it posible to implement a SPI Library. I try it but it is to difficult for me. Thank for the Help Greetings Schnarcher Click to expand... +1
Schnarcher said: Hello Erel, is it posible to implement a SPI Library. I try it but it is to difficult for me. Thank for the Help Greetings Schnarcher Click to expand... +1
Erel B4X founder Staff member Licensed User Longtime User Nov 21, 2016 #3 Are you trying to communicate with any specific chip?
S Schnarcher Member Licensed User Longtime User Nov 21, 2016 #4 Hello thank for your Reply, i want to communicate with the MCP2515 CAN-Bus Chip ! Schnarcher
Erel B4X founder Staff member Licensed User Longtime User Nov 21, 2016 #5 A wrapper for the SPI library will probably not help as it is too low level. Does this library do what you need: https://github.com/franksmicro/Arduino/tree/master/libraries/MCP2515 ? Last edited: Nov 21, 2016
A wrapper for the SPI library will probably not help as it is too low level. Does this library do what you need: https://github.com/franksmicro/Arduino/tree/master/libraries/MCP2515 ?
Erel B4X founder Staff member Licensed User Longtime User Nov 21, 2016 #7 Try to run the example from the Arduino IDE. If it works then I can wrap it (I don't have the hardware required to test it).
Try to run the example from the Arduino IDE. If it works then I can wrap it (I don't have the hardware required to test it).
S Schnarcher Member Licensed User Longtime User Nov 21, 2016 #8 Hello Erel, i have Tested the example from Post 5 and it works . Without a car but the communication to the Chip works.
Hello Erel, i have Tested the example from Post 5 and it works . Without a car but the communication to the Chip works.
Erel B4X founder Staff member Licensed User Longtime User Nov 22, 2016 #9 Here: https://www.b4x.com/android/forum/threads/rmcp2515.73330/