This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM6437如何利用gpio兩支接腳傳遞HIGH或LOW訊號

各位先進好

我是使用DM6437的初學者

想請問如何用dm6437的gpio功能中的兩支接脚去傳一個High或low的訊號

使繼電器能夠ON / OFF !!

想請問要板子上的兩個接腳分別代表什麼?

要如何接線以及撰寫程式?

謝謝

  • 您是不是需要获取到gpio的状态,可以使用gpio_get_value():

    http://processors.wiki.ti.com/index.php/Linux_PSP_GPIO_Driver_Guide

    http://processors.wiki.ti.com/index.php/Configuring_GPIO_Interrupts