Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gitalk:/hardware/zh/longan/h618/lpi3h/6_peripheral.html] 外设使用 - Sipeed Wiki #700

Open
ateaford opened this issue Jul 21, 2024 · 1 comment

Comments

@ateaford
Copy link

https://wiki.sipeed.com/hardware/zh/longan/h618/lpi3h/6_peripheral.html

@ateaford
Copy link
Author

Sipeed@lpi3h-7a87:-$ sudo cat /sys/kernel/debug/gpio

[sudo] password for sipeed:

gpiochipo: GPIOS 0-287, parent: platform/300b000.pinctrl, 300b000.pinctrl: gpio-166 ( |cd ) in lo IRQ

gpio-194 (

| orange:indicator-0) out hi ACTIVE LOW

gpio-196 (

orange:indicator-1 ) out hi ACTIVE LOW

gpiochipl: GPIOS 352-383, parent: platform/7022000.pinctrl, 7022000.pinctrl:

sipeed@lpi3h-7a87:~$ echo ${num} > /sys/class/gpio/export

bash: /sys/class/gpio/export: No such file or directory sipeed@lpi3h-7a87:~$ num=194

sipeed@lpi3h-7a87:~$ echo ${num} > /sys/class/gpio/export bash: /sys/class/gpio/export: No such file or directory

sipeed@lpi3h-7a87:~$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant