Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile without using serial port #84

Open
sunnyguhz opened this issue Sep 25, 2024 · 0 comments
Open

Cannot compile without using serial port #84

sunnyguhz opened this issue Sep 25, 2024 · 0 comments

Comments

@sunnyguhz
Copy link

  • Arduino IDE version (found in Arduino -> About Arduino menu):
    2.3.2

  • List the steps to reproduce the problem below (if possible attach a sketch or
    copy the sketch code in too): LIST REPRO STEPS BELOW

It Cannot compile without using serial port with STM32.

c:\Users\Sunnygu\Documents\Arduino\libraries\Adafruit_Unified_Sensor\Adafruit_Sensor.cpp: In member function 'void Adafruit_Sensor::printSensorDetails()':
c:\Users\Sunnygu\Documents\Arduino\libraries\Adafruit_Unified_Sensor\Adafruit_Sensor.cpp:11:3: error: 'Serial' was not declared in this scope; did you mean 'Serial2'?
   11 |   Serial.println(F("------------------------------------"));
      |   ^~~~~~
      |   Serial2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant