Undeclared Identifier OUTPUT for STM32 Boards #508
Labels
conclusion: duplicate
Has already been submitted
criticality: low
Of low impact
topic: language server
Related to the Arduino Language Server
type: imperfection
Perceived defect in any part of project
Describe the bug
Function call Parameter eg OUTPUT are underscored in Red in Ver 2 IDE beta 11 when using STM32 library
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect the OUTPUT parameter not to be highlighted (Red underscored) as Undeclared Identifier
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Version Two IDE behaves as expected (Not Highlighted Red) when board type is Arduino NANO
I have Arduino IDE 1.8.16 Installed and installed all my libraries via it.
Same libraries are visible in Version 2 Beta 11 so i assume are included.
The Blink program compiles uploads and works as expected
For both the NANO and Black Pill STM32 F411CE boards. ( Pin C13 and predefined LED_BUILTIN )
STM32 Upload is via STM CubeProgrammer SWD Genuine ST Link Programmer
Hope that helps, code below;
void setup()
{ // initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop()
{
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(20); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(20); // wait for a second
}
The text was updated successfully, but these errors were encountered: