Skip to content

Commit 0231a8d

Browse files
committed
update code snipet format
1 parent db05e2e commit 0231a8d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

content/Hardware Support/Generic/How-to-Create-a-simple-web-server-with-static-IP-and-control-builtinLED-using-WiFiNINA-library.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,17 @@ This tutorial is about making a web server with static IP, using the web server
3232

3333
03. Add the Wi-Fi details you wish to connect in the `arduino_secrets.h` file.
3434

35-
04. Add `IPAddress ip('/*add the selected static IP here*/');` under the included library section like the code below.
35+
04. Add `IPAddress ip('/*add the selected static IP here*/');` under the included library section like the code below:
3636

37-
[Code Snippet](https://create.arduino.cc/editor/jojobaa/473fd181-12a3-4d42-bb56-c6adc385f457/preview?embed&snippet=L23-L34#L26)
37+
<iframe src=https://create.arduino.cc/editor/jojobaa/473fd181-12a3-4d42-bb56-c6adc385f457/preview?embed&snippet=L23-L34#L26 style="height:510px;width:100%;margin:10px 0" frameborder=0></iframe>
38+
39+
<!-- [Code Snippet](https://create.arduino.cc/editor/jojobaa/473fd181-12a3-4d42-bb56-c6adc385f457/preview?embed&snippet=L23-L34#L26)-->
3840

3941
05. Make sure you add `WiFi.config(ip);` inside `void setup()`, like in the code below.
4042

41-
[Code Snippet](https://create.arduino.cc/editor/jojobaa/473fd181-12a3-4d42-bb56-c6adc385f457/preview?embed&snippet=L35-L52#L46)
43+
<iframe src=https://create.arduino.cc/editor/jojobaa/473fd181-12a3-4d42-bb56-c6adc385f457/preview?embed&snippet=L23-L34#L26 style="height:510px;width:100%;margin:10px 0" frameborder=0></iframe>
44+
45+
<!-- [Code Snippet](https://create.arduino.cc/editor/jojobaa/473fd181-12a3-4d42-bb56-c6adc385f457/preview?embed&snippet=L35-L52#L46)-->
4246

4347
06. Put in the Wi-Fi details you wish to connect to in the `arduino_secrets.h` file.
4448

0 commit comments

Comments
 (0)