LoginSignup
0
0

More than 1 year has passed since last update.

call of overloaded 'begin(int, int, int)'  対処

Posted at

忘備録

久しぶりに、RoverCを使おうと思ったらエラーが発生

error: call of overloaded 'begin(int, int, int)' is ambiguous
   Wire.begin(0, 26, 10000);

対処例

  int sda=0;
  int scl=26;
  uint32_t frequency=10000 ;
  Wire.begin(sda, scl,frequency);

以上

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0