msev Posted August 31, 2016 Share Posted August 31, 2016 Do you guys think/know if this would work on a Orange pi. https://github.com/riptidewave93/RFLED-Server It seems to be written in golang, I don't know how is it with the gpio's if stuff is written in golang. Well here its UART stuff actually but you get the picture.. Link to comment Share on other sites More sharing options...
lanefu Posted August 31, 2016 Share Posted August 31, 2016 Yeah looks quite feasible. I might have to fiddle with the serial device name. I'm not sure of the opi console is sharing the uart with the GPIO or not... worst case scenario you disable serial console and take over the device func main() { var wg sync.WaitGroup // Set our UART vars comport := flag.String("serial", "/dev/ttyAMA0", "Serial device to use") comspeed := flag.Int("baud", 9600, "Serial baudrate") debug := flag.Bool("debug", false, "Enable verbose debugging") Link to comment Share on other sites More sharing options...
msev Posted September 1, 2016 Author Share Posted September 1, 2016 Thanks lanefu, you are a real help - also that wiringopi tutorial you made is awesome (its on my todo list to try it out )! What about this project https://github.com/rszimm/sprinklers_pi, it has WiringPi inside not Rpi,Gpio, so it should work with WiringOPI out of the box right? Thanks! Link to comment Share on other sites More sharing options...
lanefu Posted September 12, 2016 Share Posted September 12, 2016 Thanks lanefu, you are a real help - also that wiringopi tutorial you made is awesome (its on my todo list to try it out )! What about this project https://github.com/rszimm/sprinklers_pi, it has WiringPi inside not Rpi,Gpio, so it should work with WiringOPI out of the box right? Thanks! I took a glance at the project.. It certainly seems feasible.. you're way ahead of me now. Good luck and please share your success! Link to comment Share on other sites More sharing options...
Recommended Posts