Compilation Error : digitalPintoInterrupt #165
Labels
enhancement
New feature or request
no-issue-activity
pending
It is a feature/bug-fix request, currently on hold
WARNING: library MPU6050 claims to run on avr, samd, sam, esp8266, esp32, stm32, renesas, renesas_portenta, renesas_uno architecture(s) and may be incompatible with your current board which runs on AmebaPro2 architecture(s).
D:\Users\rkuo2\Documents\Arduino\examples\IMU\MPU6050_DMP6_Teapot\MPU6050_DMP6_Teapot.ino: In function 'void setup()':
D:\Users\rkuo2\Documents\Arduino\examples\IMU\MPU6050_DMP6_Teapot\MPU6050_DMP6_Teapot.ino:135:18: error: 'digitalPinToInterrupt' was not declared in this scope; did you mean 'digitalPinToPort'?
135 | Serial.print(digitalPinToInterrupt(INTERRUPT_PIN));
| ^~~~~~~~~~~~~~~~~~~~~
| digitalPinToPort
D:\Users\rkuo2\Documents\Arduino\examples\IMU\MPU6050_DMP6_Teapot\MPU6050_DMP6_Teapot.ino:137:5: error: 'attachInterrupt' was not declared in this scope
137 | attachInterrupt(digitalPinToInterrupt(INTERRUPT_PIN), dmpDataReady, RISING);
| ^~~~~~~~~~~~~~~
exit status 1
Compilation error: 'digitalPinToInterrupt' was not declared in this scope; did you mean 'digitalPinToPort'?
The text was updated successfully, but these errors were encountered: