XAMPP Apache + MariaDB + PHP + Perl

[XAMPP Apache + MariaDB + PHP + Perl] is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use.

Edit: httpd.conf

AddHandler cgi-script .cgi .pl .asp .py

The default webroot can be found at:

C:\xampp\htdocs

[localhost:80]

[composer]

[PHPoAuthLib]

CD C:\xampp\htdocs
composer install

Arduino IDE

[Arduino IDE]

[Arduino Step by Step 2017: Getting Started]

**Test Sketches**

Blinking:

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  digitalWrite(LED_BUILTIN, HIGH);
  delay(250);

  digitalWrite(LED_BUILTIN, LOW);
  delay(250);
}

Reading from Potentiometer:

void setup() {
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
}

void loop() {
  // Read the potentiometer on analog input #0
  int sensorValue = analogRead(A0);
  // print the value
  Serial.println(sensorValue);
  // wait
  delay(1000);
}

Use Potentiometer to dim LED:

const int LED_PIN = 11;

void setup() {
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);

  pinMode(LED_PIN, OUTPUT);
}

void loop() {
  // Read the potentiometer on analog input #0
  int sensorValue = analogRead(A0);

  // Use the sensor input to manipulate the delay
  int iDelay = sensorValue / 1000.0f * 5;
  digitalWrite(LED_PIN, HIGH);
  delay(iDelay);
  digitalWrite(LED_PIN, LOW);
  delay(1);
}

Scrivener

[Scrivener] is a powerful content-generation tool for writers that allows you to concentrate on composing and structuring long and difficult documents. While it gives you complete control of the formatting, its focus is on helping you get to the end of that awkward first draft.