
#HDMI CAPTURE CARD WIKI SERIAL#
You can also light on the serial RGB LED ws2812: echo 255 > /sys/class/leds/sunxi_led0r/brightness #Red led onĮcho 0 > /sys/class/leds/sunxi_led0r/brightness #Red led offĮcho 255 > /sys/class/leds/sunxi_led0g/brightness #Green led onĮcho 0 > /sys/class/leds/sunxi_led0g/brightness #Green led offĮcho 255 > /sys/class/leds/sunxi_led0b/brightness #Blue led onĮcho 0 > /sys/class/leds/sunxi_led0b/brightness #Blue led off Up to now we have succeeded Lighting led on RISC-V 64 D1. echo 64 > /sys/class/gpio/unexport # cancel export GPIO64 We shoule cancel export if we don't use this IO. echo out>/sys/class/gpio/gpio64/direction #Set IO direction outĮcho 1 > /sys/class/gpio/gpio64/value #Set IO high voltage levelĮcho 0 > /sys/class/gpio/gpio64/value #Set IO low voltage level Then we set this IO direction out, by which we can control its voltage level. We export this led GPIO first: echo 64 > /sys/class/gpio/export #export GPIO64 Pin 64 (PC0): device 2008000.ledc function ledc group PC0 #From this we know it connects with LED We can also know the IO multiplexing table from pinmux-pins file cat /sys/kernel/debug/pinctrl/2000000.pinctrl/pinmux-pins There is an LED beside the screw fixing pad on the core board, This can be found in the dimension drawing: Click to see dimension drawingĪnd from the schematic we can know the led connects with PC0 pin, and we can figure out its siginal number is ('C'-'A')x32+0 = 2x32+0=64 Use command Alt+F2 to run "run", then input termit to open a terminal.Īfter succeed login OS(Both Tina and Debian are OK), we can stat blink LED.

Restart rsyslog service by this command /etc/init.d/rsyslog restart.Edit /etc/nf by root and change *.emerg located in lht last line into #*.emerg in this file.When using serial port connets board it always print kernel message, do following steps to stop it: The users name is root and passwork is licheepi It may run slow because of the speed of TF card. We can easily note the TX and RX pins marked on the bottom of motherboard, so we can use serial port of the ttl level wo communicate with computer(Both Tina and Debian os are OK).įor Tina OS we can use typeC cable to connect the core board with computer and use adb shell to communicate.įor Debian OS we can use keyboard and mouse to contorl the system.
