user_hooks.h
Go to the documentation of this file.
00001 /*
00002  * This file can be used to define custom register addresses
00003  * Just use addresses 100 and above
00004  */
00005 
00006 void userSetup()
00007 {
00008   // do any setup here
00009 }
00010 
00011 unsigned char userWrite(int addr, unsigned char param)
00012 {
00013   // use the register value
00014   return ERR_INSTRUCTION;
00015 }
00016 
00017 /* Read one byte from register located at addr */
00018 int userRead(int addr)
00019 {
00020   // return the register value
00021   return 0; 
00022 }


arbotix_firmware
Author(s): Michael Ferguson
autogenerated on Sat Jun 8 2019 19:34:52