Update ReadMe.md

This commit is contained in:
2022-12-22 09:13:23 +01:00
parent bbaa121fa2
commit 14cda4e6be

View File

@ -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.