Muhtasim Rahman
New member
Is there another library I can call other than the Arduino library, that has some useful functions like the STM32 HAL Library with setting GPIO pin high and low? I'm trying to move past the Arduino and learn how to write more professional c++ code. Suggestions?
C++:
#include <Arduino.h>
int main(){
bool led_state = HIGH;
pinMode(LED_BUILTIN, OUTPUT);
while(1){
digitalWrite(LED_BUILTIN, led_state);
led_state = !led_state;
delay(1000);
}
return 0;
}