Here is NMEACAN2.zip.
Fixed the leak in snprintf. I needed to allocate heap of 200 bytes and 500 bytes to the stack) for stdio library calls. Idiot!!! standard lib calls need heap and stack memory. Sheesh.
Currently the code is just CAN message handling from button press and is not much more than the LM code. I need to revise it for NMEA 2000 messages, so more protocol work and decoding. This seems to be the only NMEA2000 hobby project in process on the net.
It's design will be to collect CAN messages and allocate them to by PGN handler code as a dispatcher. Most messages will be ignored by the filter.
So far just about 30 hours invested. Faster than I expected.
The blurry pic reads
Hello World! Joe
Canx00000010 (Msg ID)
with Data Byte1 x01 (pressed can button 1).
This is 250K rate. The LM board is very nice.
File Attachment(s):
marinettejoe attached the following image(s):
Unzinced ships sink at slips. yep