Qwiic Button Register Map Byte Number HEX Register Name Type Read/Write Power On Reset Description 0 0x00 id byte Read Only 0x5D Qwiic Button ID 1 0x01 firmware LSB 2 0x02 firmware MSB byte RW 0x0101 The current firmware version. Bit 0 (eventAvailable) is set to 1 when a new event occurs user must write 0 to clear. Bit 1 (hasBeenClicked) defaults byte RW 0x00 to 0 on POR, is set to one when the button is clicked, must be cleared by the user. Bit 2 (isPressed) is set to 1 when 3 0x03 Button Status the button is pushed. 0x11 (User Set bit 0 to 1 to enable an interrupt when the button is 4 0x04 Interrupt Config byte RW Settable) clicked. Set bit 1 to 1 to enable a button pressed interrupt 0x000A(User 5 0x05 uint16 t RW Settable) 6 0x06 Button Debounce Time The Button Debounce time in ms. Default is 10 ms bit 0 is 1 if buffer is full, bit 1 is 1 if buffer is empty. Both are Read Only. Bit 2 is Read/Write and is the popRequest bit, user sets to 1 to pop from queue, then pops data from 7 0x07 Pressed Queue Status byte RO/RW 0x02 queue, then the user sets the bit back to 0 8 0x08 9 0x09 10 0x0A 11 0x0B Pressed Queue Front unsigned long RO 0x00000000 Holds the timestamp of the newest press 12 0x0C 13 0x0D 14 0x0E 15 0x0F Pressed Queue Back unsigned long RO 0x00000000 Holds the timestamp of the oldest press bit 0 is 1 if buffer is full, bit 1 is 1 if buffer is empty. Both are Read Only. Bit 2 is Read/Write and is the popRequest bit, user sets to 1 to pop from queue, then pops data from 16 0x10 Clicked Queue Status byte RO/RW 0x02 queue, then the user sets the bit back to 0 17 0x11 18 0x12 19 0x13 20 0x14 Clicked Queue Front unsigned long RO 0x00000000 Holds the timestamp of the newest click 21 0x15 22 0x16 23 0x17 24 0x18 Clicked Queue Back unsigned long RO 0x00000000 Holds the timestamp of the oldest click Stores the brightness of the LED as a value between 0 25 0x19 LED Brightness byte RW 0x00 and 255 26 0x1A LED Pulse Granularity byte RW 0x01 The amount of steps it takes to get to led brightness 27 0x1B Total pulse cycle in ms, does not include off time, LED 28 0x1C LED Pulse Cycle Time uint16 t RW 0x01F4 pulse disabled if 0 29 0x1D 30 0x1E LED Pulse Off Time uint16 t RW 0x01F4 Off Time between pulses in ms (Default is 500 ms) 31 0x1F I2C Address byte R/W NVM/User Set I2C address can be changed, defualt is 0x6FX-ON Electronics Largest Supplier of Electrical and Electronic Components Click to view similar products for SparkFun Accessories category: Click to view products by SparkFun manufacturer: Other Similar products are found below : DEV-17119 SEN-16474 COM-11450 BOB-00495 BOB-00497 PRT-08619 PRT-12702 SEN-13582 TOL-11468 ROB-09065 COM-12999 COM-12986 COM-11120 ROB-11965 COM-11222 PRT-12845 CAB-13685 PRT-10210 PRT-14490 TOL-10603 COM-09278 PRT-08023 COM-08033 DEV-14052 PRT-00111 PRT-08432 TOL-09317 TOL-10997 PRT-00743 PRT-14492 TOL-14228 COM-13247 PRT-11026 CAB-10646 TOL-08964 PRT-00116 PRT-08506 CAB-09741 COM-10800 SEN-14282 DEV-14012 CAB-14043 COM-14452 TOL-14508 DEV-13814 GPS-00574 PRT-14417 PRT-08231 COM-09939 PRT-13839