update raspi install and todo
This commit is contained in:
parent
2f904ba503
commit
8a95e24982
@ -156,6 +156,9 @@ PRIVATE VOID vTask( PVOID arg )
|
||||
{
|
||||
boOK &= ADCD_boReadData( ADCD_eHot, &error, &u16ADC_data[ADCD_eHot] );
|
||||
boOK &= ADCD_boReadData( ADCD_eCold, &error, &u16ADC_data[ADCD_eCold] );
|
||||
|
||||
/** @todo call errorhandler if value == 0 */
|
||||
|
||||
if( boOK )
|
||||
{
|
||||
flTempData[ADCD_eHot] = flConvertADCData( u16ADC_data[ADCD_eHot] );
|
||||
|
@ -3,11 +3,11 @@ Here few instructions to install the drivers for the communtications with the TE
|
||||
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
|
||||
|
||||
|
||||
resetCAN.sh !!!
|
||||
maybe edit permissions
|
||||
./resetCAN.sh
|
||||
... for starting can0
|
Loading…
x
Reference in New Issue
Block a user