On Apr 19, 5:35 pm, Joep Suijs <[email protected]> wrote:
> Hi William,
>
> I'd say this 30 lines of code are the init function of your library,
> and this init function might take a few parameters or there are some
> constants you need to define before you include the can libarary. But
> I expect this is too simple and you will explain in more detail why ;)
>
> Joep
>
Sounds like a library function InitCanBus or init_can_bus
to me too.

It might even take parameters...  (my Catpad project... )

    serial_hw_init(38_400, USART_PARITY_NONE, 8, 1,
USART_FLOW_INT)      -- use interupts and no flow control
    usb_serial_init()
    ClockInit()

it could even be a psuedovar
LCD_Cmd = PANEL_INIT + PANEL_FILL + PANEL_LAMP_ON

(My KS0108 lcd_init)

Also I have
function EepromExtByteInit(byte in numChips, byte in baseAddress, byte
in chipAddressBits, word in pageSize, byte in control) return  byte
is

to setup before using
EepromExtByte[100] = fred
or
fred = EepromExtByte[100]

pseudovar array in array_storage.jal

However it's years since I looked at CANbus.
So +1 vote with 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.

Reply via email to