You could also remove the line but I prefer to comment it out in case I want to enable it again in the future. The hackster.io editor breaks when I don't have the spaces between the colons above. (The actual file doesn't have spaces between the colons. Your inittab file should look something like this when you are done. To comment out a line you simply place a # at the start of the line. This is the file that contains the boot setting that ties up the serial port. This is a very lightweight text editor that we will use to modify files.ģ. All of the configuration will be done from the command line.Ģ. The path is /dev/ttyATH0Īs I said above the default boot behavior of the Omega is to output messages via the serial port and also prompt for input.ġ. Note: If you want to use the serial port in it's factory configuration the default baud rate is 115200. This pro tip will show you how to reconfigure your Omega in less than 5 minutes so you will have full access to the serial port from your code. Because of this configuration you are not able to fully use the serial port in C/C++ code and trying to do so will cause undefined behavior in your programs.
0 Comments
Leave a Reply. |