<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mytx</title>
    <description>The latest articles on DEV Community by Mytx (@mytx).</description>
    <link>https://dev.to/mytx</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1091660%2F3eca2adb-c489-4528-9f47-eddb3f370cc5.png</url>
      <title>DEV Community: Mytx</title>
      <link>https://dev.to/mytx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mytx"/>
    <language>en</language>
    <item>
      <title>Blueprint[1]: Arduino IoT Cloud x Blynk Cloud Integration</title>
      <dc:creator>Mytx</dc:creator>
      <pubDate>Mon, 09 Dec 2024 14:04:52 +0000</pubDate>
      <link>https://dev.to/mytx/blueprint1-arduino-cloud-x-blynk-cloud-integration-347</link>
      <guid>https://dev.to/mytx/blueprint1-arduino-cloud-x-blynk-cloud-integration-347</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Last year, I started an IoT project and explored two popular cloud platforms: Arduino Cloud and Blynk Cloud. Both have a common limitation—Arduino Cloud allows control of up to 5 variables, while Blynk Cloud provides 5 virtual datastreams. This means if you want to control 5 light bulbs, you can only do so one per variable or datastream.&lt;/p&gt;

&lt;p&gt;Initially, I managed to fit all my needs into just 5 variables. However, I wondered: is it possible to combine both Arduino Cloud and Blynk Cloud on a single ESP32 microcontroller? After some experimentation, I got it working!&lt;/p&gt;

&lt;p&gt;In this tutorial, I’ll guide you through setting up and using Arduino Cloud and Blynk Cloud individually, and then show you how to combine both platforms on the same ESP32 to enhance your IoT projects.&lt;/p&gt;

&lt;p&gt;Please note, this is strictly an experiment. I’m sharing a method to take advantage of both platforms as a free-tier user. This tutorial is not a step-by-step guide for beginners starting with IoT but a resource for those with prior experience with these technologies. If you’re familiar with Arduino Cloud and Blynk Cloud, you’ll be able to apply what I’ve discovered effectively.&lt;/p&gt;

&lt;h2&gt;
  
  
  Blynk Cloud Setup
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;[Quickstart Method]&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;** - Prerequisites - **&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An ESP32 microcontroller.&lt;/li&gt;
&lt;li&gt;Blynk app installed on your smartphone (available on iOS 
and Android or you can just use web dashboard).&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A Blynk account (sign up if you don’t have one).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enter "blynk.cloud" on your web browser and log in or sign up.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzmqp5idosinpvdn7evkm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzmqp5idosinpvdn7evkm.png" alt="Image description" width="800" height="396"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on the circle symbol on the upper right conor of the screen and then click on quickstart.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcodd0tei4yg31492r74j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcodd0tei4yg31492r74j.png" alt="Image description" width="778" height="476"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click "Let's go" and then on the next page choose your microcontroller board accordingly and connection type as WiFi&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwx3lp3d6m0o35am09aim.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwx3lp3d6m0o35am09aim.png" alt="Image description" width="800" height="342"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fukolnyvtegfdize5nhce.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fukolnyvtegfdize5nhce.png" alt="Image description" width="800" height="342"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffb91xm9wy3foougsxpi5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffb91xm9wy3foougsxpi5.png" alt="Image description" width="800" height="340"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Now to install Blynk Libraries in Arduino IDE&lt;/li&gt;
&lt;li&gt;First off on board manager tab search "esp 32" and install them&lt;/li&gt;
&lt;li&gt;After that on library manager tab search "blynk" and installing the first one on the list should be suffice&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feykbi35xam95xmnw9ck3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feykbi35xam95xmnw9ck3.png" alt="Image description" width="264" height="690"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6v3f28fbzeayuyn74750.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6v3f28fbzeayuyn74750.png" alt="Image description" width="268" height="725"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enter Your "Wifi SSID" and "password" on the blanks and then click "back" and once you are back to step 3 click "next" again, by doing this blynk website will generate a template code with your wifi SSID and password included, that way you can copy and paste the code to test the device rather quickly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdyxsky2halksek67gk2s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdyxsky2halksek67gk2s.png" alt="Image description" width="800" height="340"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Now to compile and upload the codes to the esp32&lt;/li&gt;
&lt;li&gt;I didn't have access to genuiene esp32 board so when choosing the board to upload in board manager i had to pick the one called "DOIT ESP32 DEVKIT V1"&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Choose the correct board, port and click upload on upper left cornor of the screen&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl28xgi9n9d9uchmfwrwv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl28xgi9n9d9uchmfwrwv.png" alt="Image description" width="800" height="260"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Once uploading is done and everything went accordingly...your device should now be online and connected to blynk cloud server&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ful1c98g9fyynlchzmubo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ful1c98g9fyynlchzmubo.png" alt="Image description" width="800" height="340"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiycs4bzs1k49alkav850.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiycs4bzs1k49alkav850.png" alt="Image description" width="601" height="202"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This is the fastest way to setup blynk cloud service with esp32&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now that we got our esp32 board online with blynk cloud...let's move on to arduino cloud&lt;/p&gt;

&lt;h2&gt;
  
  
  Arduino IoT Cloud Setup
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Enter "cloud.arduio.cc" on your web browser and log in or sign up.&lt;/li&gt;
&lt;li&gt;After that click the cloud icon on upper right cornor of the screen.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6q6cjfwa4qvx3j6tox9m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6q6cjfwa4qvx3j6tox9m.png" alt="Image description" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Choose Things on the left and click on "CREATE THING".&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk08r6ivjwazfdrgpuye0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk08r6ivjwazfdrgpuye0.png" alt="Image description" width="800" height="358"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Firstly, let's choose our device, Click the chain icon under "Associated Device"&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc0q1zb6ftfq9dlirb63s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc0q1zb6ftfq9dlirb63s.png" alt="Image description" width="800" height="423"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;click on "SET UP NEW DEVICE"&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpoanpi7yq5ew1ea7afrl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpoanpi7yq5ew1ea7afrl.png" alt="Image description" width="800" height="423"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Since we are using esp32 as our board, choose "Third party device"&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F45cr5i1pjoatnnnz0f6b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F45cr5i1pjoatnnnz0f6b.png" alt="Image description" width="644" height="555"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select ESP32 and choose "DOIT ESP32 DEVKIT V1" if you use the same cloned board like me.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fap6fajv5e24ziinbj51v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fap6fajv5e24ziinbj51v.png" alt="Image description" width="646" height="409"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Give your device a kickass name&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F18y278zm6dwhmsoi67xk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F18y278zm6dwhmsoi67xk.png" alt="Image description" width="646" height="553"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Definitely "DOWNLOAD PDF" and keep them to yourself, they are absolutely integral.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqu8plve89m1ts59xeor5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqu8plve89m1ts59xeor5.png" alt="Image description" width="643" height="578"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Next, we’ll set up the network details that our board will connect to. Click the chain icon after "Network" section.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9w68nh5fwxuab2s99gz2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9w68nh5fwxuab2s99gz2.png" alt="Image description" width="800" height="424"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enter Your WiFi SSID, Password, and the secret Key from the pdf you previously downloaded.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg9r6wjdiuf964czfydgh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg9r6wjdiuf964czfydgh.png" alt="Image description" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click on "Sketch", There arduino website will generate a complete code foryou to get started.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjzmdxm9w8bc8cbjbdueu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjzmdxm9w8bc8cbjbdueu.png" alt="Image description" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click Download icon to download the file, extract the files, open .ino file and if asked to create a folder click yes, and copy files outside the recently created folder and paste it in the folder.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd4jomqqzuf2bnjut2jcx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd4jomqqzuf2bnjut2jcx.png" alt="Image description" width="800" height="423"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Open up "LIBRRY MANAGER" type "arduino cloud", install everything just to be safe.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmby1541kn407fv38habs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmby1541kn407fv38habs.png" alt="Image description" width="269" height="722"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;After everything is done, your device should be online now.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbwy6ddpxhfj488fcmr1o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbwy6ddpxhfj488fcmr1o.png" alt="Image description" width="800" height="418"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now that we are done with both blynk cloud and arduino IoT cloud, Let's write the code so that both cloud platform works simultaneously on one microcontroller.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  INTEGRATION SETUP
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Create a new sketch. You’ll also need an additional file in the same sketch. Click New Tab, and name it "thingProperties.h".&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbi8d5hvwjdu3o7at2m9t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbi8d5hvwjdu3o7at2m9t.png" alt="Image description" width="800" height="123"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Let’s start by setting up thingProperties.h. This file will handle all the mandatory configurations for Arduino IoT Cloud.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Favzfp0a1k18p46bpquq9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Favzfp0a1k18p46bpquq9.png" alt="Image description" width="800" height="346"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Next, we’ll configure Blynk Cloud and set up the rest. In the void setup, we’ll initialize Arduino Cloud, Blynk Cloud, and the serial monitor. Finally, we’ll sync both platforms in the void loop.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo7f67aa89dmtqx77n0qk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo7f67aa89dmtqx77n0qk.png" alt="Image description" width="800" height="372"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Finally, you can compile and upload the program to your microcontroller. Warning: The compilation process may take a while, especially if it's your first time. Be patient and wait it out—don’t unplug the device just because it seems to be taking too long. Subsequent compilations will be faster!&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu0dz6m3oszjfvpbxzvyt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu0dz6m3oszjfvpbxzvyt.png" alt="Image description" width="800" height="134"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For simplicity's sake, I can't explain every detail, and I apologize for that. The inked parts are meant to be filled with your own private credentials. If everything goes right, your device should be connected to both cloud services simultaneously.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzz4m5sqeiony01armvoh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzz4m5sqeiony01armvoh.png" alt="Image description" width="800" height="253"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Famdqaz59vl8m0chraum9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Famdqaz59vl8m0chraum9.png" alt="Image description" width="800" height="396"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Epilogue
&lt;/h2&gt;

&lt;p&gt;That's a wrap! You've successfully integrated both Arduino Cloud and Blynk Cloud on a single ESP32 microcontroller—pretty cool, right? This experiment shows that even with some limitations, you can find creative ways to get the most out of your IoT projects.&lt;/p&gt;

&lt;p&gt;As you dive deeper into IoT, keep experimenting and exploring. There’s always more to learn and discover, so don’t hesitate to try out new ideas. If you run into any challenges or have something to share, I’d love to hear about it!&lt;/p&gt;

&lt;p&gt;Thanks for following along.&lt;/p&gt;

&lt;p&gt;Sic itur ad astra!&lt;/p&gt;

</description>
      <category>arduino</category>
      <category>blynk</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>De[v]log#5: Arduino Cloud &amp; Blynk Integration</title>
      <dc:creator>Mytx</dc:creator>
      <pubDate>Thu, 14 Nov 2024 01:01:07 +0000</pubDate>
      <link>https://dev.to/mytx/devlog4-arduino-cloud-blynk-integration-3m69</link>
      <guid>https://dev.to/mytx/devlog4-arduino-cloud-blynk-integration-3m69</guid>
      <description>&lt;p&gt;Dev Log: Integrating Arduino Cloud and Blynk for Enhanced IoT Control 🛠💡&lt;br&gt;
Introduction:&lt;br&gt;
I m gonna start my dev logs again after the long hiatus and before i start completely i wanted to do a quick devlog about my work&lt;br&gt;
In my recent project, I faced a major challenge: managing a complex IoT setup with limited control variables on standard platforms like Arduino Cloud and Blynk Cloud. Each platform alone allows only a handful of variables, making it tough to manage a full-scale smart home system with multiple sensors and devices. But what if we could harness the power of both platforms together?&lt;/p&gt;

&lt;p&gt;Why Integrate Arduino Cloud and Blynk?&lt;br&gt;
Arduino Cloud and Blynk are both excellent platforms, but they come with limitations:&lt;/p&gt;

&lt;p&gt;Arduino Cloud restricts the number of control variables, capping flexibility for larger projects.&lt;br&gt;
Blynk Cloud offers a great interface but also limits the number of control variables in the free tier.&lt;br&gt;
By using them together, I bypassed these constraints, effectively doubling the number of control points and opening up new possibilities for managing complex IoT systems. With this integration, I could control:&lt;/p&gt;

&lt;p&gt;12 Lights 🌐💡&lt;br&gt;
5 Monitoring Sensors for home statuses (humidity, temperature, fire alarm, water level detection etc.)&lt;br&gt;
Key Features of My Solution:&lt;br&gt;
Dual Cloud Integration: Seamless connection between Arduino Cloud and Blynk Cloud to expand control variables.&lt;br&gt;
ESP32 Communication Setup: Efficient use of Serial2 communication to handle data between the esp32, Arduino Uno microcontrollers and both cloud services.&lt;br&gt;
Optimized Control with Arrays: Managing 12 light controls using just 3 control variables via arrays, maximizing efficiency.&lt;br&gt;
Snippet Preview:&lt;br&gt;
Here's a sneak peek of the setup code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//------------------------------ ex[T]ernal fi[L]es ------------------------------//
//_____________________________________________________________________________________________ - bl[Y]nk cl[O]ud -
#define BLYNK_TEMPLATE_ID "*************"
#define BLYNK_TEMPLATE_NAME "****************"
#define BLYNK_AUTH_TOKEN "********************************"
#include &amp;lt;WiFi.h&amp;gt;
#include &amp;lt;BlynkSimpleEsp32.h&amp;gt;

char ssid[] = "*********";
char pass[] = "***********";
//_____________________________________________________________________________________________ - ard[U]ino cl[O]ud -
#include "arduino_cloud_lights_control.h"
#include "arduino_cloud_door_control.h"

void setup() {
  Serial.begin(115200);
  Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);
  ArduinoCloud.begin(ArduinoIoTPreferredConnection);
}

void loop() {
  Blynk.run();
  ArduinoCloud.update();
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This basic code outlines how I established the connection between the ESP32 microcontroller and both cloud platforms. It shows the use of the Blynk.run() and ArduinoCloud.update() functions to update both platforms simultaneously.&lt;/p&gt;

&lt;p&gt;Challenges Faced and Solutions Implemented:&lt;br&gt;
Variable Limitations:&lt;/p&gt;

&lt;p&gt;Problem: I needed to control multiple devices but was restricted by the number of control variables.&lt;br&gt;
Solution: I used arrays to manage multiple devices with fewer variables, effectively expanding my control capacity.&lt;br&gt;
Synchronized Updates:&lt;/p&gt;

&lt;p&gt;Problem: Data synchronization between Arduino Cloud and Blynk Cloud was tricky.&lt;br&gt;
Solution: Efficient use of serial communication and update functions in the main loop.&lt;br&gt;
What’s Next? Full Tutorial Coming Soon! 🚀&lt;br&gt;
I just want to do a quick dev log of what I’ve accomplished. I’ll be releasing a full tutorial soon, detailing:&lt;/p&gt;

&lt;p&gt;Step-by-step setup for Arduino Cloud and Blynk.&lt;br&gt;
Code optimizations and tricks for expanding control variables.&lt;br&gt;
Hardware diagrams and project walkthroughs.&lt;br&gt;
Stay tuned if you want to push your IoT projects beyond the limits of a single cloud service! 💪💻&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foytyncb7arl9y99jwwbv.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foytyncb7arl9y99jwwbv.jpg" alt="Image description" width="800" height="1733"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe6ebb9x503ooid1cmiju.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe6ebb9x503ooid1cmiju.jpg" alt="Image description" width="623" height="1280"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fty1p4vjo7mbh85frtt1y.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fty1p4vjo7mbh85frtt1y.jpg" alt="Image description" width="623" height="1280"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>arduino</category>
    </item>
    <item>
      <title>De[v]log#4: Raylib setup on vscode</title>
      <dc:creator>Mytx</dc:creator>
      <pubDate>Wed, 07 Jun 2023 05:46:32 +0000</pubDate>
      <link>https://dev.to/mytx/devlog4-raylib-setup-on-vscode-43ca</link>
      <guid>https://dev.to/mytx/devlog4-raylib-setup-on-vscode-43ca</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fivfbstoyjgcm58m9wk2i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fivfbstoyjgcm58m9wk2i.png" alt="Image description" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Install Vscode  __&lt;a href="https://code.visualstudio.com/download" rel="noopener noreferrer"&gt;https://code.visualstudio.com/download&lt;/a&gt;&lt;br&gt;
Install Raylib  __&lt;a href="https://github.com/raysan5/raylib/wik" rel="noopener noreferrer"&gt;https://github.com/raysan5/raylib/wik&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe6t5vhtfxh3kws0dy63p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe6t5vhtfxh3kws0dy63p.png" alt="Image description" width="800" height="381"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You don't need to include library path if you are on linux environment but you need to do the following if you are working with windows&lt;/p&gt;

&lt;p&gt;&lt;code&gt;C:\raylib\w64devkit\bin&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;On window raylib installer will install everything on C: like above&lt;br&gt;
Copy that and put that in Environment Path&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Control Panel -&amp;gt; Edit the system environment variables -&amp;gt; Environment Variables -&amp;gt; System Variable -&amp;gt; Path -&amp;gt; New -&amp;gt; C:\raylib\w64devkit\bin -&amp;gt; Ok All&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  With that you are set for compilation...
&lt;/h2&gt;

&lt;p&gt;Before compiling anything you need to fix something upfront tho...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#include "C:/raylib/raylib/src/raylib.h"
#include "C:/raylib/raylib/src/raymath.h"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You need to declare raylib headers like this...since raylib library and headers are not in default include paths on window...you dont need to do this part for linux tho&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd58gvryj5dbgtkgspopg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd58gvryj5dbgtkgspopg.png" alt="Image description" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Compiling on Command Line Interface:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;For Window&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;gcc core_basic_window.c -lraylib -lopengl32 -lgdi32 -lwinmm -o core_basic_window.exe&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For Linux&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;cc main.c -lraylib -lGL -lm -lpthread -ldl -lrt -lX11 -o main&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;This is a simple command line to compile raylib source_code written in C (just change gcc to g++ for C++ codes)&lt;/p&gt;

&lt;p&gt;Navigate to your source code file from command line using &lt;br&gt;
&lt;strong&gt;cd C:/directory&lt;/strong&gt; and run the command line to compile the code&lt;/p&gt;

&lt;p&gt;After that: double click core_basic_window.exe on window (You can run ./core_basic_window.exe if you are on powershell) or run ./main with terminal on linux&lt;/p&gt;
&lt;h2&gt;
  
  
  Compiling on vscode
&lt;/h2&gt;

&lt;p&gt;Now to compile and run the code in vscode...copy and paste the following in the task.json &lt;strong&gt;( Ctrl+P -&amp;gt; task.json to open the file to edit)&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
{
    "tasks": [
        {
            "type": "cppbuild",
            "label": "C/C++: g++.exe build active file",
            "command": "C:\\raylib\\w64devkit\\bin\\g++.exe",
            "args": [
                "-fdiagnostics-color=always",
                "-g",
                "${file}",
                "-ID:\\C:\\raylib\\raylib\\src",
                "-L:\\C:\\raylib\\raylib\\src",
                "-lraylib", "-lopengl32", "-lgdi32", "-lwinmm",
                "-v",
                "-o",
                "${fileDirname}\\${fileBasenameNoExtension}.exe"
            ],
            "options": {
                "cwd": "${fileDirname}"
            },
            "problemMatcher": [
                "$gcc"
            ],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "detail": "Task generated by Debugger."
        }
    ],
    "version": "2.0.0"
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If directory locations are mismatch...try to fix that&lt;/p&gt;

&lt;p&gt;&amp;lt;&amp;lt;&amp;lt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}/**",
                "C://raylib/raylib/src"
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE"
            ],
            "windowsSdkVersion": "10.0.22000.0",
            "compilerPath": "cl.exe",
            "cStandard": "c17",
            "cppStandard": "c++17",
            "intelliSenseMode": "windows-msvc-x64"
        }
    ],
    "version": 4
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Changing "c_cpp_properties.json" to this will save you the trouble from typing -&amp;gt; #include "C:/raylib/raylib/src/raylib.h"...&lt;br&gt;
with that...now you only need to type #include "raylib.h" everytime you write a new source&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq842wql7aht4z12xu9c9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq842wql7aht4z12xu9c9.png" alt="Image description" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>De[v]log#3: Compiling rayilb on powershell!!!</title>
      <dc:creator>Mytx</dc:creator>
      <pubDate>Wed, 31 May 2023 12:52:48 +0000</pubDate>
      <link>https://dev.to/mytx/devlog3-compiling-rayilb-on-powershell-5fb4</link>
      <guid>https://dev.to/mytx/devlog3-compiling-rayilb-on-powershell-5fb4</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv46unkew7woh11bsdne6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv46unkew7woh11bsdne6.png" alt="Image description" width="800" height="451"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft99tcrf1ymehma2e2v0g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft99tcrf1ymehma2e2v0g.png" alt="Image description" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After 4 flipping days of constant head slamming....I managed to make it work!&lt;/p&gt;

&lt;p&gt;These are all the error messages everytime I tried to compile raylib on cli&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;C:/raylib/w64devkit/bin/ld.exe: cannot find ..\../src/raylib.rc.data: No such file or directory
C:/raylib/w64devkit/bin/ld.exe: skipping incompatible ./libraylib.a when searching for -lraylib
C:/raylib/w64devkit/bin/ld.exe: skipping incompatible .\libraylib.a when searching for -lraylib

c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lraylib

c:/w64devkit/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lraylib
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I couldn't make it work on cli...so i tried to make things work with vscode yesterday....and it work...but kinda...it only work with c codes and I really want to make it work for c++ too...on side note...I somehow compiled the code without error but the output file isn't compatible for with window for some reason...curious case indeed&lt;/p&gt;

&lt;p&gt;after trying everything I can think off....it finally compiled and run...&lt;/p&gt;

&lt;p&gt;the method was...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://github.com/raysan5/raylib/wiki/Working-on-Windows
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;one of the section (Build ONE example using gcc/g++) tell you to run w64devkit.exe from raylib/w64devkit folder in C: and navigate to source and compile there...and it work...but it only work when I use w64devkit.exe from raylib/w64devkit folder.it doesn't work when I tried to compile from how do I say this....default w64devkit I installed on my C: drive...that is also the one I setup in my environment path -&amp;gt; C:\w64devkit&lt;/p&gt;

&lt;p&gt;The error seems like it couldn't find the library necessary for raylib compilation...so I thought...maybe raylib/w64devkit folder have extra stuffs that default w64devkit I installed on my C: drive doesn't...so like any sane person would...I copy everything from raylib/w64devkit and paste them in default w64devkit...and voila I can now compile raylib source code from anywhere...and thus my problem is resolved....&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;For fresh installation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;install raylib with window installer&lt;/li&gt;
&lt;li&gt;remove mingw path if there is any to avoid any conflicts&lt;/li&gt;
&lt;li&gt;put C:\w64devkit\bin in the path 
and I guess that is pretty much it&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;I am so glad the problem is solved and....I can actually start coding...well that is what I want to say at least but now I gotta change astronvim c++ syntax highlight from c++11 to c++20...I somehow managed to do that in my wsl..but I tried so many stuffs in the process...I don't remember which one actually worked...but that is for another day xD...i m just gonna enjoy my little accomplishment and play some katana zero...&lt;/p&gt;

</description>
    </item>
    <item>
      <title>De[v]log#2: Making astronvim and raylib work on window + Extra: astronvim LspInstall error on android</title>
      <dc:creator>Mytx</dc:creator>
      <pubDate>Wed, 31 May 2023 01:49:23 +0000</pubDate>
      <link>https://dev.to/mytx/devlog2-making-astronvim-and-raylib-work-on-window-2ea3</link>
      <guid>https://dev.to/mytx/devlog2-making-astronvim-and-raylib-work-on-window-2ea3</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr0cx8ub4ualmb1jj2jko.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr0cx8ub4ualmb1jj2jko.png" alt="Image description" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frv05m83d1idxe0mwtjth.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frv05m83d1idxe0mwtjth.png" alt="Image description" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My day started off pretty normal....still feeling bad that I couldn't finish setting up yesterday...so with new determination and all i set out to solve those errors...&lt;/p&gt;

&lt;p&gt;first order of business was to fix everything that is wrong with astronvim....&lt;/p&gt;

&lt;p&gt;There are dependencies to install before install astronvim and my negligence caused me a great headache...installed all of them and those errors warning go away...&lt;/p&gt;

&lt;p&gt;now for the next error...i noticed that i couldnt using :TSInstall &lt;br&gt;
apparently it is compile error...due to compiler being super old or something so i setout to fix it&lt;/p&gt;

&lt;p&gt;fortunately there is already support for this error&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://github.com/nvim-treesitter/nvim-treesitter/wiki/Windows-support

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;this link helped me out...i literally installed almost everything describe in there...curl tar mingw llvm&lt;br&gt;
then i put this line of code&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;require 'nvim-treesitter.install'.compilers = { "clang" }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;at the end of nvim/init.lua file and voila....the issue is resolved! Astronvim now run almost flawlessly...a few hiccups here and there but i can tolerate them for now...so i will just fix them later&lt;/p&gt;

&lt;p&gt;After that i tried to fix raylib once again...&lt;br&gt;
following along this make it possible to compile and run on vscode&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://www.appsloveworld.com/cplus/100/561/how-to-add-raylib-to-vs-code
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;but for some reason...that only work for c codes...i gotta search a way for c++ to work too...but atleast i can fallback and work with c now&lt;/p&gt;

&lt;p&gt;My eyes and head hurt from all those setbacks but hey...adrenaline rush after solving a problem always motivate me to keep on going...so all is well in the end i guess?&lt;/p&gt;

&lt;h2&gt;
  
  
  Extra
&lt;/h2&gt;

&lt;p&gt;I dont want to write a new log for this since it is a miniscule problem...running astronvim on android work fine with one exception... I could'nt install clangd with LspInstall command...&lt;br&gt;
The error says "Failed due to unsupported platform or something"&lt;br&gt;
Manually installing clangd outside of nvim and putting this line at the bottom of /nvim/init.lua solve the problem&lt;/p&gt;

&lt;p&gt;&lt;code&gt;require'lspconfig'.clangd.setup{}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;with one problem solved...new one arrived gcc wont work on termux and now I m trying to setup archlinux on termux with proot...&lt;/p&gt;

&lt;p&gt;I had some trouble install tree-sitter-cli with cargo and npm on termux...I was busy that day and forgot to write about it...I will just do it later&lt;/p&gt;

</description>
    </item>
    <item>
      <title>De[v]log#1: Oops.....powershell is ruined...sorry</title>
      <dc:creator>Mytx</dc:creator>
      <pubDate>Mon, 29 May 2023 12:44:25 +0000</pubDate>
      <link>https://dev.to/mytx/oopspowershell-is-ruinedsorry-4dj9</link>
      <guid>https://dev.to/mytx/oopspowershell-is-ruinedsorry-4dj9</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Oops, something went wrong.
Please report this bug with ALL the details below, including both the 'Environment' and 'Exception' sections.
Please report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new?template=Bug_Report.md
Thank you!

### Environment
PSReadLine: 2.2.0-beta1
PowerShell: 7.3.4
OS: Microsoft Windows 10.0.22000
BufferWidth: 132
BufferHeight: 35

Last 0 Keys

### Exception
System.TypeLoadException: Could not load type 'System.Management.Automation.Subsystem.PredictionResult' from assembly 'Microsoft.PowerShell.PSReadLine.Polyfiller, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
   at Microsoft.PowerShell.PSConsoleReadLine.PredictionViewBase.Reset()
   at Microsoft.PowerShell.PSConsoleReadLine.PredictionInlineView.Reset()
   at Microsoft.PowerShell.PSConsoleReadLine.Prediction.Reset()
   at Microsoft.PowerShell.PSConsoleReadLine.Initialize(Runspace runspace, EngineIntrinsics engineIntrinsics)
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is the error code I got after modding my powershell7 with oh-my-posh....I don't really know what went wrong but after I restarted the powershell7...this error showed up...as if I didn't have enough error in my hands to solve....well fortunately upgrading PSreadline solve the problem&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pwsh.exe -noprofile -command "Install-Module PSReadLine -Force -SkipPublisherCheck -AllowPrerelease"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;prompting this line on my built in powershell solved the problem...&lt;/p&gt;

&lt;p&gt;so yeh...basically this one line did it and I wanted to recorded it somewhere if it were to happen again...&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
