Hi
I'm venturing out on a project with Canbus to link-up in a daisy chain fashion on a project. I'm using a off the shelf Chip45 Crumb128/Can module.
The MCU is a AT90CCAN128 chip.I have had a bit of a play and can seem to get the micro performing well.
Question1
Now i'm venturing into the Canbus side of things and have run into a bit of wall.
I have copied the 'CAN-Elektor.bas ' example in the help and have deployed it to the micro and run it up.
In the example there is a 'Bok = Cansend(1 , Portc)' command and returns a Err flag number.
I'm getting a value 1 returned instead of a 0. What is the err returned (1)???
Question 2
In the example. Do i deploy the same example to both modules???
or does the code need to be altered for the Sender module and the Receiver Module??
Thank
Snowie :?
[b:2f69fed11a][color=red:2f69fed11a](BASCOM-AVR version : 2.0.7.6 )[/b:2f69fed11a][/color:2f69fed11a]
↧