update raspi install and todo

This commit is contained in:
pique_n 2022-11-22 15:40:42 +01:00
parent 2f904ba503
commit 8a95e24982
2 changed files with 6 additions and 3 deletions

View File

@ -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] );

View File

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