🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Low level neopixel functions with HEX RGB Board question.

    General
    2
    2
    2.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wwhite
      last edited by

      Does anyone have an example using low level neopixel functions. I've tried this with the HEX RGB Board with no luck:

      import esp

      I'm not sure what goes in grb_buy I took a guess.

      grb_buf = [0] = 0
      grb_buf = [1] = 255
      grb_buf = [2] = 0
      esp.neopixel_write(26, grb_buf, is80khz)

      1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        If I recall correctly coulees must be specified as touples and not single vales for example:
        0,0,0 for off or 255,255,255 for on

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        1 Reply Last reply Reply Quote 1
        • First post
          Last post