diff options
author | siddhu8990 | 2016-08-18 15:47:18 +0530 |
---|---|---|
committer | siddhu8990 | 2016-08-18 15:47:18 +0530 |
commit | 1552675d4ac3be8d265bcf089fbc1ac5be1547f9 (patch) | |
tree | 4162a70fa63681584c6d5485b08b516e64015569 /2.3-1/src/c/hardware/rasberrypi/serial | |
parent | 21ab4886b202a52189b398bd9d3137e2a567d62a (diff) | |
download | Scilab2C-1552675d4ac3be8d265bcf089fbc1ac5be1547f9.tar.gz Scilab2C-1552675d4ac3be8d265bcf089fbc1ac5be1547f9.tar.bz2 Scilab2C-1552675d4ac3be8d265bcf089fbc1ac5be1547f9.zip |
RPi-PWM and basic imaage processing
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/serial')
4 files changed, 4 insertions, 4 deletions
diff --git a/2.3-1/src/c/hardware/rasberrypi/serial/dRPISerialSendDatas.c b/2.3-1/src/c/hardware/rasberrypi/serial/dRPISerialSendDatas.c index 163e9c7d..c1553f79 100644 --- a/2.3-1/src/c/hardware/rasberrypi/serial/dRPISerialSendDatas.c +++ b/2.3-1/src/c/hardware/rasberrypi/serial/dRPISerialSendDatas.c @@ -28,7 +28,7 @@ uint8 dRPISerialSendDatas(int fd, double data) for(count=0; count<sizeof(double); count++) { - //Send lsb first + /*Send lsb first*/ serialPutchar(fd, (uint8) in_data.bytes[count]); } diff --git a/2.3-1/src/c/hardware/rasberrypi/serial/i16RPISerialSendDatas.c b/2.3-1/src/c/hardware/rasberrypi/serial/i16RPISerialSendDatas.c index 861d7d89..ff6edfff 100644 --- a/2.3-1/src/c/hardware/rasberrypi/serial/i16RPISerialSendDatas.c +++ b/2.3-1/src/c/hardware/rasberrypi/serial/i16RPISerialSendDatas.c @@ -17,7 +17,7 @@ uint8 i16RPISerialSendDatas(int fd, int16 data) { - //Send lsb first + /*Send lsb first*/ serialPutchar(fd, (uint8) data); serialPutchar(fd, (uint8) (data>>8)); diff --git a/2.3-1/src/c/hardware/rasberrypi/serial/sRPISerialSendDatas.c b/2.3-1/src/c/hardware/rasberrypi/serial/sRPISerialSendDatas.c index a8c34d0e..bd0cd949 100644 --- a/2.3-1/src/c/hardware/rasberrypi/serial/sRPISerialSendDatas.c +++ b/2.3-1/src/c/hardware/rasberrypi/serial/sRPISerialSendDatas.c @@ -27,7 +27,7 @@ uint8 sRPISerialSendDatas(int fd, float data) for(count=0; count<sizeof(float); count++) { - //Send lsb first + /*Send lsb first*/ serialPutchar(fd, (uint8) in_data.bytes[count]); } diff --git a/2.3-1/src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c b/2.3-1/src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c index 5b2d0568..2f0536c3 100644 --- a/2.3-1/src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c +++ b/2.3-1/src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c @@ -17,7 +17,7 @@ uint8 u16RPISerialSendDatas(int fd, uint16 data) { - //Send lsb first + /*Send lsb first*/ serialPutchar(fd, (uint8) data); serialPutchar(fd, (uint8) (data>>8)); |