浏览代码

Merge pull request #20 from KurtE/QWIIC_KEYPAD

Qwiic keypad
main
Paul Stoffregen 4 年前
父节点
当前提交
33d7d7e48c
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 5 次插入2 次删除
  1. +3
    -0
      WireIMXRT.h
  2. +2
    -2
      examples/Scanner/Scanner.ino

+ 3
- 0
WireIMXRT.h 查看文件

@@ -34,6 +34,9 @@

#define BUFFER_LENGTH 32
//#define WIRE_HAS_END 1
#define WIRE_IMPLEMENT_WIRE
#define WIRE_IMPLEMENT_WIRE1
#define WIRE_IMPLEMENT_WIRE2

class TwoWire : public Stream
{

+ 2
- 2
examples/Scanner/Scanner.ino 查看文件

@@ -139,8 +139,8 @@ void printKnownChips(byte address)
case 0x47: Serial.print(F("PCA9685")); break;
case 0x48: Serial.print(F("ADS1115,PN532,TMP102,LM75,PCF8591")); break;
case 0x49: Serial.print(F("ADS1115,TSL2561,PCF8591")); break;
case 0x4A: Serial.print(F("ADS1115")); break;
case 0x4B: Serial.print(F("ADS1115,TMP102,BNO080")); break;
case 0x4A: Serial.print(F("ADS1115,Qwiic Keypad")); break;
case 0x4B: Serial.print(F("ADS1115,TMP102,BNO080,Qwiic Keypad")); break;
case 0x50: Serial.print(F("EEPROM,FRAM")); break;
case 0x51: Serial.print(F("EEPROM")); break;
case 0x52: Serial.print(F("Nunchuk,EEPROM")); break;

正在加载...
取消
保存