Skip to content

chandong83/raspi3_rts_on

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raspi3_rts_on

Hardware RTS Enable for Raspberry Pi 3
for The RS485
This code was referenced by below the link.
https://elinux.org/RPi_GPIO_Code_Samples#Direct_register_access

RTS is BCM17 Port
Please See below link
https://pinout.xyz/

Usage


$git clone https://github.com/chandong83/raspi3_rts_on


$make -j4


$sudo ./rts_on

Testing


$date > /dev/ttyAMA0

screenshot

Setting Before

before

Setting After

before

ETC

if you don't want 'sudo' command


$sudo chown root rts_on
$sudo chmod 4755 rts_on

About

Hardware RTS Port Enable for Raspberry Pi 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published