|Using GPIOs and serial communication port with Raspberry Pi [message #1833840]
||Sun, 25 October 2020 15:48
| Pradeep Patel
Registered: October 2020
I am using Raspberry Pi 3 board with Raspbian OS. I am writing a 4Diac program to toggle one digital output on board and read one digital input connected to switch. For this i was referring to documentation at following link:|
My questions are:
1. Should i refer topic "SysFs (Raspberry Pi, Beagle Bone Black and Similar Boards)" or "Raspberry-SPS" on above link for writing programs for Raspberry Pi 3 board?
2. I have schematics for Rapsberry Pi board on which there is GPIO connector. As per schematics GPIOs on connector has numbers like GPIO2, GPIO3, and so on. How do i map these GPIOs in my 4Diac program?
3. What is the way to use communication channels like I2C? Do i have to create my own function block to access I2C port of raspberry Pi board? if yes, where can i find documentation for same?
4. Where can i find documentation for creating custom function block and related source code for this function block in Forte?
I have gone through embrick and wago source files in Forte source code but it is difficult to understand the flow of function calls from function block initialization to accessing hardware GPIOs or communication ports through Forte. Is there any documentation explaining this function call flow?
[Updated on: Sun, 25 October 2020 17:32]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01979 seconds