コード例 #1
0
ファイル: SPIClass.cs プロジェクト: flin1009/Esp32IfTest
 // void end();
 // private const int SPI_END = 1201;
 public void end()
 {
     esp32If.GpioCommand(SPI_END, (int)spiBus, 0);
 }
コード例 #2
0
ファイル: TwoWire.cs プロジェクト: flin1009/Esp32IfTest
 // void setClock(uint32_t frequency); // change bus clock without initing hardware
 // private const int I2C_SET_CLOCK = 601;
 public void setClock(uint frequency)
 {
     esp32If.GpioCommand(I2C_SET_CLOCK, busNum, (int)frequency);
 }