Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VL53L0X_Error VL53L0X_WrByte(VL53L0X_DEV Dev, uint8_t index, uint8_t data){
- VL53L0X_Error Status = VL53L0X_ERROR_NONE;
- int32_t status_int;
- uint8_t deviceAddress;
- deviceAddress = Dev->I2cDevAddr;
- status_int = VL53L0X_write_byte(deviceAddress, index, data);
- if (status_int != 0)
- Status = VL53L0X_ERROR_CONTROL_INTERFACE;
- return Status;
- }
Add Comment
Please, Sign In to add comment