Analog Signal (ADC) to CAN message HELP

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by tendter on Fri May 08 00:29:14 MST 2015

i'm writing my master thesis and i need your help. I use a LPCxpresso Board with LPC11C24 and LPXxpresso Develop platform.

I want to read 2 analog signals on pins PIO0_1 and PIO0_2. Now I want to send these values via CAN controller (c-can) to CAN_H and CAN_L.
I understand the examples "ADC" and "C_CAN", but I can't combine the codes correctly.
Can you help me with a code example?

Thanks a lot.