Starting with PCAN
Posted: Tue 26. Jun 2012, 17:07
Hello everyone,
I'm trying to get started with some basic CAN applications to understand how it works, using PCAN-USB as device.
I'm using WindowsXP, PCAN Explorer5 and LPCXpresso (by NXP) for the C program.
Basically, I would like to be able to send a data via the CAN each time I push on a pushbutton connected to the microcontroller (LPC11C24).
The content of the data is not really important for the moment, it's just for the example.
I would like also being able to see this data on PCAN Explorer. I've already did the PCAN EXplorer tutorials available on the website so I think I know how to see messages sent via the CAN.
I'm able to set my microcontroller ports as I/O and how to detect the state of an I/O but I have trouble to understand how to send an information via the CAN when a button is pushed.
Also, Do I need PCAN Basic or PCANBasic.h in order to achieve this task
Thank you for your help.
PS:(I hope my message is at the right place)
I'm trying to get started with some basic CAN applications to understand how it works, using PCAN-USB as device.
I'm using WindowsXP, PCAN Explorer5 and LPCXpresso (by NXP) for the C program.
Basically, I would like to be able to send a data via the CAN each time I push on a pushbutton connected to the microcontroller (LPC11C24).
The content of the data is not really important for the moment, it's just for the example.
I would like also being able to see this data on PCAN Explorer. I've already did the PCAN EXplorer tutorials available on the website so I think I know how to see messages sent via the CAN.
I'm able to set my microcontroller ports as I/O and how to detect the state of an I/O but I have trouble to understand how to send an information via the CAN when a button is pushed.
Also, Do I need PCAN Basic or PCANBasic.h in order to achieve this task
Thank you for your help.
PS:(I hope my message is at the right place)