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.
Type: Posts; User: dweenigma
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.
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...
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...
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>...
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...
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?
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
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?
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...