|
||||||
| C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Hi Guys,
I am a newbie to C so please excuse me if my question seems stupid. I have just written a serial communications protocol for my current employer, I have now been asked to implement it in the C programming language which has me really nervous as I have never really done much in C.They are aware of this and probably don't expect much, but i'd like to think i can do it. Basically, what i'm looking for is some ideas on how to go about it. This is roughly what i need to do: I will be writing the C code for a microcontroller which will be accepting the serial messages sent from a pc. The serial messages will be a 2byte instruction code which requires the microcontroller to simply respond with a similar 2 byte response depending on the instruction code. An example of the sent message to the microcontroller, *STX character 02h*2byte instruction code*ETX character 03h Last edited by madbunny; 05-11-2008 at 05:59 AM. |
| Sponsored Links |
|
|
|
|||
|
Hi, Madbunny
I am also newbie here but welcomes you! |
|
|||
|
Oh Thanks Zael,For welcoming me.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Newbie Needs HTML HELP HELP HELP! | Callme | HTML Programming | 1 | 03-12-2008 09:27 AM |
| Newbie questions regarding inputing a sentence | Emir | C and C++ | 3 | 12-29-2007 06:21 PM |
| Problems in GETMEM.INC with newer WinXP security updates. | dima_q | Pascal/Delphi | 0 | 06-04-2007 09:17 AM |
| File I/O (newbie question) | ntmurphy | C and C++ | 4 | 04-04-2007 02:30 AM |
| Problems in compiling D-ITG | MietitoreDAnime | C and C++ | 2 | 02-15-2007 11:18 AM |