diff options
author | Sandeep Gupta | 2017-07-05 12:41:25 +0530 |
---|---|---|
committer | Sandeep Gupta | 2017-07-05 12:41:25 +0530 |
commit | 06337f0dc8114c70fd0c7767083971a0d091750a (patch) | |
tree | 446481550ba88e6e0f7df2db7fdc66d2016ee2f1 /src/c/scilab-arduino/cmd_i2c_write_register | |
parent | c2e305c3b82ed944d57402dd515b3d5839a31980 (diff) | |
download | Scilab2C_fossee_old-06337f0dc8114c70fd0c7767083971a0d091750a.tar.gz Scilab2C_fossee_old-06337f0dc8114c70fd0c7767083971a0d091750a.tar.bz2 Scilab2C_fossee_old-06337f0dc8114c70fd0c7767083971a0d091750a.zip |
LinearAlgebra and MatrixOperation Update
Diffstat (limited to 'src/c/scilab-arduino/cmd_i2c_write_register')
-rw-r--r-- | src/c/scilab-arduino/cmd_i2c_write_register/u8cmd_i2c_write_registers.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/c/scilab-arduino/cmd_i2c_write_register/u8cmd_i2c_write_registers.cpp b/src/c/scilab-arduino/cmd_i2c_write_register/u8cmd_i2c_write_registers.cpp deleted file mode 100644 index 63cc7c7..0000000 --- a/src/c/scilab-arduino/cmd_i2c_write_register/u8cmd_i2c_write_registers.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "cmd_i2c_write_register.h" -#include "Arduino.h" -#include "Wire.h" - -void u8cmd_i2c_write_registers(uint8 address, uint8 reg_adrs, uint8 data) -{ - - - Wire.beginTransmission(address); //Begins transmission to the device connected to given address - Wire.write(reg_adrs); //sets register pointer to reg_adrs position - Wire.write(data); //writes given data on reg_adrs position - Wire.endTransmission(); //Transmission ends - - -} - |