mys-8mmx GPIO pin line accessing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mys-8mmx GPIO pin line accessing

333 Views
kundan
Contributor II

Hello everyone,

I am working on MYiR MYS-8MMX SBC board. now i am able to toggle the GPIO pin using command using export method from sys/class/gpio.

Now i want to toggle in a loop. So i am following https://github.com/starnight/libgpiod-example/blob/master/libgpiod-led/main.c method. here i am getting issue. 

I don't know what i need to mention in *chipname and line_number

char *chipname = 
unsigned int line_num = 
unsigned int val;
struct gpiod_chip *chip;
struct gpiod_line *line;
0 Kudos
Reply
0 Replies