Search:

Type: Posts; User: dweenigma

Search: Search took 0.00 seconds.

  1. I don't see /etc/inittab or getty in the code. ...

    I don't see /etc/inittab or getty in the code. Is that somewhere in the Linux system? I'm still learning C and Linux.
  2. That is the program that use to work every other...

    That is the program that use to work every other time. That's what doesn't make sense. I copied the code you see from the program that was saved for backup. How does a program work every other...
  3. I learning from tutorials that use arrays for...

    I learning from tutorials that use arrays for reading and writing to the port.
    Now it doesn't seem to respond to reading or writing.
    Here is code that I wrote that sends numbers to the device to...
  4. Here is my code for recieving bytes from a device...

    Here is my code for recieving bytes from a device through the serial port:


    #include <stdio.h>
    #include <unistd.h>
    #include <stdlib.h>
    #include <sys/io.h>
    #include <fcntl.h>...
  5. This is a robotics project. I'm using a R232...

    This is a robotics project. I'm using a R232 serial port to control a microcontroller board. So the computer will be doing calculations and decisions, but input and output will be through the...
  6. Best operating system for C programming with serial ports?

    What is the best and easiest operating system to program in C in especially if I’m programming a serial port? Windows, Linux, or just DOS?
  7. Replies
    2
    Views
    6,691

    Segmentation fault, core dumped

    I'm compiling with gcc and with -O2 optimisation.
    Here's the code:


    #include <stdio.h>
    #include <unistd.h>
    #include <stdlib.h>
    #include <sys/io.h>
    #define PORT1 0x3F8
  8. Replies
    22
    Views
    5,886

    Best way to program on Linux?

    What is the best way for someone who is new to both Linux and C programming to program on Linux? A particular IDE or command line?
  9. Got Eclipse and CDT compiler. Where's the CDT instructions?

    I've downloaded and installed the Eclipse in my Linux, and it looks nice. I've also downloaded the CDT C compiler, and after looking over the Eclipse SDK help page I think I installed CDT. I believe...
Results 1 to 9 of 9