Author |
Message |
Topic: rs232 problem |
seyoung
Replies: 1
Views: 7617
|
Forum: General CCS C Discussion Posted: Mon Aug 21, 2017 12:16 am Subject: rs232 problem |
We want to send data using rs232.
However receive device want to use following protocol:
ex ) we want to send '123'
send data (*HEX) : 31 32 33
** Each hex data must have space ... |
Topic: How to put data into the database using serial communication |
seyoung
Replies: 4
Views: 11273
|
Forum: General CCS C Discussion Posted: Wed May 17, 2017 7:42 pm Subject: How to put data into the database using serial communication |
We want to our data upload to oracle database.
We are currently thinking about is roughly like this:
1. Use 18f67j10's serial communication to send data to wireless converter
( The serial s ... |
Topic: How to put data into the database using serial communication |
seyoung
Replies: 4
Views: 11273
|
Forum: General CCS C Discussion Posted: Wed May 17, 2017 6:22 am Subject: How to put data into the database using serial communication |
I want to upload data to the server using PIC18F66J10's serial communication.
In fact, I do not know what parts are needed because I do not know much about the server.
We have confirmed that the ... |
Topic: add source file problem.. |
seyoung
Replies: 2
Views: 8049
|
Forum: General CCS C Discussion Posted: Sun Nov 20, 2016 9:53 pm Subject: add source file problem.. |
@Ttelmah
Thank you for reply.
and your reply has solved my problem. |
Topic: add source file problem.. |
seyoung
Replies: 2
Views: 8049
|
Forum: General CCS C Discussion Posted: Thu Nov 17, 2016 9:43 pm Subject: add source file problem.. |
main
┌source
│ ┌main
│ │ └main.c
│ │ └main.h
│ │ └18F67J10.h
│ │ └stdlib.h
│ │ └stddef.h
│ │ └string.h
│ │ └c ... |
Topic: 4byte array convert to float |
seyoung
Replies: 4
Views: 10403
|
Forum: General CCS C Discussion Posted: Fri Nov 11, 2016 10:38 am Subject: 4byte array convert to float |
unsigned long PM_int[3] = { 0x00, }
is this code change like..
unsigned int32 PM_int[3] = { 0x00, } ?? |
Topic: 4byte array convert to float |
seyoung
Replies: 4
Views: 10403
|
Forum: General CCS C Discussion Posted: Fri Nov 11, 2016 10:37 am Subject: 4byte array convert to float |
PM_int[i] = (((int32)iobyte[i][3]<<24)|((int32)iobyte[i][2]<<16)|((int32)iobyte[i][1 ... |
Topic: 4byte array convert to float |
seyoung
Replies: 4
Views: 10403
|
Forum: General CCS C Discussion Posted: Fri Nov 11, 2016 10:25 am Subject: 4byte array convert to float |
void OPC_N2_data_read()
{
unsigned long PM_int[3] = { 0x00, };
unsigned char iobyte[3][4] = {0x38,0x95,0x86,0x42,0xd8,0xfe,0x9d,0x42,0 ... |
|