RPI2-GPIO
#3
(09-21-2016, 02:58 PM)MarkHaysHarris777 Wrote: hi mus1c,  the answer to your question depends on whether the serial console has been enabled. It also depends on what you're going to use the PI end of things for. 

The Pine board is better, and the system is more consistent , and especially from a serial point of view. On the Pine uartx is ttySx ie  uart0 is ttyS0

On the PI the device is either serial0  or  ttyAMA0;  and this depends on whether serial is enabled and whether the serial console is enabled. You will want to read the PI forum posts (mine and others) and make sure you understand how to enable serial comm on the PI. 

You can use raspi-config to disable the serial console on the PI. You may also manually edit the config and command line files. Ultimately, if you want to use the serial uart pin(8) & pin(10) GPIO14 &GPIO15 for serial comm you will need to disable the serial console. 

The device is either serial0 , or ttyAMA0  depending.

is raspi-config built-in debian image?
  Reply


Messages In This Thread
RPI2-GPIO - by mus1c - 09-21-2016, 02:40 PM
RE: RPI2-GPIO - by MarkHaysHarris777 - 09-21-2016, 02:58 PM
RE: RPI2-GPIO - by mus1c - 09-21-2016, 05:25 PM
RE: RPI2-GPIO - by pfeerick - 09-21-2016, 08:00 PM
RE: RPI2-GPIO - by MarkHaysHarris777 - 09-21-2016, 11:54 PM
RE: RPI2-GPIO - by KnReLe - 09-22-2016, 12:29 AM
RE: RPI2-GPIO - by mus1c - 09-22-2016, 05:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  RPi.GPIO python module for Pine A64/A64+ aquilegia 98 133,030 12-15-2022, 08:40 PM
Last Post: Fadazo
  fm transmitter with gpio weasel18 2 4,879 09-10-2019, 04:28 AM
Last Post: desai_amogh
  How to use dts or other setup to declare gpio pin Interrupt (e.g. a button)? dkebler 1 3,630 06-12-2019, 10:37 AM
Last Post: dkebler
Lightbulb Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus MarkHaysHarris777 6 11,229 06-07-2019, 12:37 AM
Last Post: tllim
Star GPIO, SPI and I2C C++ Lib databit 7 11,324 02-04-2019, 05:45 AM
Last Post: Jeff R
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 4 11,943 01-24-2019, 03:36 AM
Last Post: Fifth
  GPIO and SPI SamR1 20 31,913 03-15-2018, 10:32 AM
Last Post: jomoengineer
Question GPIO shockr 7 14,890 03-11-2018, 01:52 AM
Last Post: jomoengineer
  Read GPIO problem shworker 14 21,353 08-17-2017, 01:21 PM
Last Post: martinayotte
  GPIO fiq capability joseph 3 6,160 11-10-2016, 06:07 PM
Last Post: joseph

Forum Jump:


Users browsing this thread: 1 Guest(s)