My Arduino not connecting to internet

I am working on macbook air and connected my arduino uno with usb and tried to use blynkblink example code after uploading the program. But in serial monitor it stuck at getting IP… and not connecting to the internet.
pls help.

Are you connecting using wifi or ethernet?

It could be easier to help if you show us your code. Put your code in like this:

```cpp
void main(void)
```

he says: [quote=“Vivek_Bharti, post:1, topic:12565”]
connected my arduino uno with usb and tried to use blynkblink example code
[/quote]

didn’t mention any shields or modules, so, i assume he is trying to connect via usb…

@Vivek_Bharti When using USB-link, you must remove or comment out the #define BLYNK_PRINT Serial line. You also cannot use the serial monitor at the same time as the USB-link script.

Technically not true, but you have to use softwareserial and a separate pair of pins attached to a different USB-Serial (or plain serial) port :slight_smile:

I was keeping it simple :wink: