Hello all,

Many thanks for your info and code snippet.

Now I'm interested to put this functionality into BTCom code. I have MPLAB
tools. I would like to call init_lvd() inside main function of main_com.c.
But at this moment I have no idea how the following code fragment can be
linked with main_com.c :
....
check(on_low_battery);
....
on_low_battery->check_function=always_true;
set_action(on_low_battery,lowBattery);

>From where these check(), set_action() functions come from ? I've search the
library and can't find any clue of it.

Could you please explain me where/when to use _LVDInterrupt(void) ? It would
be vary much helpful to get code that can work with existing epuck library.

Thanks in advance and best regards,
Faruque

-- 
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
Md Omar Faruque Sarker
PhD Student,
Robotic Intelligence Lab,
Department of Computing,
University of Wales, Newport,
Allt-yr-yn Campus, Newport, NP20 5XR, UK
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
_______________________________________________
E-puck-user mailing list
[email protected]
https://mail.gna.org/listinfo/e-puck-user

Reply via email to