Agon Light 2 - Comments about GPIO PINS used as input

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 2024
  • Thanks ‪@MikePerigo‬ and ‪@TELsBENCH‬ !!
    #basicprogramming #computer #games

ความคิดเห็น • 4

  • @AgonBits
    @AgonBits 29 วันที่ผ่านมา +1

    MOSI, CS, SCK and MISO are for SPI connections.
    CSL and SDA are for i2c connections (ie, nunchuck, or the real time clock module).
    CTS and RTS are related to the UART1 along with TCD and RXD, but less often used.
    These are duplicated on the UEXT io bus connector.

    • @LearnAgon
      @LearnAgon  29 วันที่ผ่านมา

      Thanks for this valuable information!

  • @MikePerigo
    @MikePerigo หลายเดือนก่อน

    33:40 think in binary.
    3 = 0011
    AND
    5 = 0101
    gives
    0001 = 1
    The bit mask selects which bits are to be considered in the output value. If the mask is 5 (0101) then only bits 2 and 0 of the value (0011) are considered ... 0*2^2=0 + 1*2^0=1.