Hi William, 2010/4/19 William <[email protected]>: > JSG says not allowed to touch specific pins? > pin_B2 = high -- set CANTX high for recessive level > pin_B2_direction = output > pin_B3_direction = input This depends on the device. I'd suggest to use pin_CANTX instead (I think this is okay for JSG) and Rob does a great job mapping those the the relevant pin for each device.
> this one would be really tough to make friendly interface for. sets a > bunch of parameters about the canbus. baudrate is just one item. 3 > bytes of parameters. > can_set_config(4, 0x9E, 3) ... > final mode. could be 'normal' or 'listen-only'. 1 byte > CANCON = 0; -- normal mode Athough I don't understand all of them, I think many options are part of the sollution choosen and won't change. Baudrate and listen-only are typical parameters / constants for the library. Choose constants if they are fixed for a given application. Joep -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
