Forum

How to ask for Ardu...
 
Notifications
Clear all

How to ask for Arduino coding help

1 Posts
1 Users
0 Reactions
869 Views
Posts: 23
Admin
Topic starter
(@compase)
Member
Joined: 17 years ago

When asking for help with your Arduino code, it's crucial that you upload code to be easily viewed and copied. In the toolbar, find the <> button. This tool helps you post code like this:

#include "thingProperties.h"
#include <Arduino_LSM6DS3.h>

void setup() {
  // Initialize serial and wait for port to open:
  Serial.begin(9600);
  // This delay gives the chance to wait for a Serial Monitor without blocking if none is found
  delay(1500); 

  // Defined in thingProperties.h
  initProperties();

  // Connect to Arduino IoT Cloud
  ArduinoCloud.begin(ArduinoIoTPreferredConnection);