Exemplo n.º 1
0
 // void end();
 // private const int SPI_END = 1201;
 public void end()
 {
     esp32If.GpioCommand(SPI_END, (int)spiBus, 0);
 }
Exemplo n.º 2
0
 // 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);
 }