logo elektroda
logo elektroda
X
logo elektroda

OpenBeken Flag 13: How to View Real-Time GPIO States for Unconfigured Pins?

divadiow 30 10
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21708009
    divadiow
    Level 36  
    I forget how useful Flag 13 - [HTTP] Show actual PIN logic level for unconfigured pins is for finding buttons. No GPIO Dr or tracing, just push the button and watch channel state change to identify button.

    eg, this TXW cam clearly shows P08 and P12 as being the two buttons. The trouble is that PIN States list seems to be capped to P28.

    animated
    Pin state list from P00 to P28 showing logic values on dark background
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #4 21708024
    DeDaMrAz
    Level 20  
    divadiow wrote:
    https://github.com/divadiow/OpenBK7231T_App/b...296d740e/src/httpserver/http_fns.c#L996-L1016


    nail on the head as the saying goes :) a platform switch logic has to be implemented there as well
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #8 21708043
    divadiow
    Level 36  
    nope. I'll fiddle
    OpenBeken Flag 13: How to View Real-Time GPIO States for Unconfigured Pins?
  • #9 21708050
    DeDaMrAz
    Level 20  
    Btw you two @insmod and @divadiow are (more than) welcome this weekend to test these two PR's

    https://github.com/openshwprojects/OpenBK7231T_App/pull/1795

    https://github.com/openshwprojects/OpenBK7231T_App/pull/1792

    We need to look through some PR's and clear as much as possible, issues as well. We overextended a bit so just to clean house.
  • #11 21708115
    divadiow
    Level 36  
    yay
    OpenBeken Flag 13: How to View Real-Time GPIO States for Unconfigured Pins?

    Added after 6 [minutes]:

    confirming BK7231N
    OpenBeken Flag 13: How to View Real-Time GPIO States for Unconfigured Pins?

    Added after 3 [minutes]:

    >>21708040

    missed this. thanks
ADVERTISEMENT