Skip to content

Instantly share code, notes, and snippets.

View system_LPC17xx.c
* @file system_LPC17xx.c
* @brief CMSIS Cortex-M3 Device Peripheral Access Layer Source File
* for the NXP LPC17xx Device Series
* @version V1.03
* @date 07. October 2009
* @note
* Copyright (C) 2009 ARM Limited. All rights reserved.
View lpc1768FileWrite.c
#include <lpc17xx.h>
#include "sdcard.h"
#include "uart.h"
#include "fat32.h"
#include "stdutils.h"
#include "delay.h"
#include "spi.h"
int main()
View hornbillMiniTweeterDisplay.ino
* Hornbill Industrial Data logger (Temp and Current )
* Reference links:
* Library Links:
View hornbill_Industrial_dataLogger.ino
* Tutorial : Hornbill Industrial Data logger (Temp and Current )
* Sensor: Max6675 Temp Sensor, non-invasive Current Sensor sensor
* Reference links:
* Library Links:
View hornbill_IO_test.c
#include <AWS_IOT.h>
#include <WiFi.h>
#include <Hornbill_IO.h>
char WIFI_SSID[]="your Wifi SSID";
char WIFI_PASSWORD[]="Wifi Password";
char HOST_ADDRESS[]="AWS host address";
char CLIENT_ID[]= "client id";
View hornbill_IO_structure.c
typedef struct {
float value; // digital/analog value of the pin
int pin; // Pin Num to read/write the data
char operation[20]; // IO opeartion (digitalRead/digitalWrite/analogRead ---)
View hornBill_json_reported.c
View hornBill_json_desired.c
View Hornbill_Industrial_dataLogger.c
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <unistd.h>
#include <limits.h>
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
View DTH11_Data_logging_using_ESP32.cpp
#include <AWS_IOT.h>
#include <WiFi.h>
#include "DHT.h"
#define DHTPIN 4 // what digital pin we're connected to
// Uncomment whatever type you're using!
#define DHTTYPE DHT11 // DHT 11