Страница 1 из 1
MCP2515 block cannot be used
Добавлено: 16 янв 2019, 15:52
MrD
I noticed the MCP2515 block has an error
To load the program it will not run if I delete a red circled segment then the program will work
MCP2515 block cannot be used
Добавлено: 16 янв 2019, 16:03
Sancho
[ref]MrD[/ref], Libraries 2515:
Код: Выделить всё
MCP2515::ERROR MCP2515::setBitrate(const CAN_SPEED canSpeed)
{
return setBitrate(canSpeed, MCP_16MHZ);
}
If you do not enter a frequency value, the default is 16 MHz.
Install 16 in the program for normal operation of your equipment.
Если Вы не вводите значение частоты, по умолчанию выставляется 16Мгц.
Установите 16 в программе для нормальной работы Вашего оборудования.