diff --git a/ReadMe.md b/ReadMe.md index abcedca..41c28b5 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -12,6 +12,20 @@ This Code is for uploading the [TECware](https://gitlab.psi.ch/coldbox/tec/tecwa - copy the srec file from the [TECware](https://gitlab.psi.ch/coldbox/tec/tecware) repo to this directory - (If you are on windows, please change you CAN Interface in the uploadtec.py script) [here](https://www.feaser.com/en/blog/2018/07/libopenblt-python-bindings-tutorial/) some infos +### Install the CAN interface (for RPi CAN Hat) + +Add the following line to your /boot/config.txt file: +`dtoverlay=mcp2515-can0,oscillator=12000000,interrupt=25,spimaxfrequency=2000000` + +`sudo reboot` + +`pip3 install python-can` +... for python module + +maybe edit permissions +`./resetCAN.sh` +... for starting can0 + ## Usage to use this script the libopenblt.(so on linux)(dll on windows) library should be in the same directory.