Skip to content

Instantly share code, notes, and snippets.

@42Bots
42Bots / ESP8266-74HC595-ShiftOut.ino
Last active January 9, 2023 23:35
ESP8266 with a shift register 74HC595 programmed with the Arduino IDE
/* Example of using ES8266 with a 74HC595 shift register
** the ShiftOut function without any libraries
** LEDs will count from 0 to 255 in binary
** For more details, see http://42bots.com
--------------------------------------------------------
** Connections:
** ESP8266 GPIO13 to 74HC595 pin 14
** ESP8266 GPIO15 to 74HC595 pin 12
** ESP8266 GPIO14 to 74HC595 pin 11
** 74HC595 Vcc is connected to 3.3V
@42Bots
42Bots / ESP8266-74HC595-SPI.ino
Last active May 13, 2023 19:42
ESP8266 Shift Register (74HC595) using the Arduino IDE and SPI
/* Example of using ES8266 with a 74HC595 shift register
** for more details, see http://42bots.com
--------------------------------------------------------
** Connections:
** ESP8266 GPIO13 to 74HC595 pin 14
** ESP8266 GPIO15 to 74HC595 pin 12
** ESP8266 GPIO14 to 74HC595 pin 11
** 74HC595 Vcc is connected to 3.3V
** 8 LEDs connected to the 8 outputs of the 74HC595
** via approariate velue resistor (I use 1k Ohm)
@42Bots
42Bots / ESP8266-WoFi-SoftAccessPoint.ino
Last active May 2, 2017 04:18
ESP8266 Soft Access Point Example
/*
* For more information see http://42bots.com
* Configure the ESP8266 unit as a Wi-Fi access point
*/
#include <ESP8266WiFi.h>
/* Your WiFi Soft Access Point settings */
const char* ssid = "ESP8266"; //this will be the network name
const char* password = "ESP8266Test"; //this will be the network password
@42Bots
42Bots / ESP8266-WiFI-Station.ino
Last active April 30, 2017 04:23
ESP8266 WiFi Station Example with remote GPIO control
/* For more information see http://42bots.com
* Based on the "WiFIAccessPoint" example included with the ESP8266 board files
* for the Arduino IDE Original copyright below.
* ============================================================================
* Copyright (c) 2015, Majenko Technologies
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met: