Simple code works on arduino but does not work on platformio

Hello I am trying to use my arduino nano with platfomio for first time but I am having some troubles, seems the code compiles and flash correctly but the response of the arduino is not what I expected, LED does not blink or blinks too fast and the serial communication prints incorrect messages, also this code works with arduino ide.

Thank you


platform = atmelavr
board = nanoatmega328new
framework = arduino


#include <Arduino.h>

#define LED 13

void setup() {
pinMode(LED, OUTPUT);


void loop() {
Serial.println(“Hello world”);
printf(“Hello world”);
digitalWrite(LED, HIGH);
digitalWrite(LED, LOW);
// put your main code here, to run repeatedly:

I don’t think printf() would work by default on AVR? What happens when you delete that line?

ouhh is that, thank you so much, I did not expect this line would affect to the blinks. :grin: