Skip to content

Instantly share code, notes, and snippets.

View bennamallory's full-sized avatar

Mallory Benna bennamallory

View GitHub Profile
/*
Purpose: To identify if an individual wearing the brace is limping or not
Reference: Accelerometer and Gyroscope LSM6DS3 Pedometer Example
Authors: Elsy Meis, Elijah Sensibar, Mallory Benna
Date: 15 Feb 2022
*/
//Include all relevant libraries
#include <Arduino_LSM6DS3.h>
#include "SparkFunLSM6DS3.h"
/* Author: Mallory Benna
* Date: April 8, 2021
* Purpose: To change neopixel display with IR Remote
* References: IR - https://github.com/Arduino-IRremote/Arduino-IRremote/blob/master/examples/ReceiveDemo/ReceiveDemo.ino#L38
*
*/
#include <Adafruit_NeoPixel.h> //import NeoPixel library
#include <Arduino.h>
#include <IRremote.h> //Import IR Remote library
/* Author: Mallory Benna
* Date: April 8, 2021
* Purpose: To change neopixel display with IR Remote
* References: IR - https://github.com/Arduino-IRremote/Arduino-IRremote/blob/master/examples/ReceiveDemo/ReceiveDemo.ino#L38
*
*/
#include <Adafruit_NeoPixel.h> //import NeoPixel library
#include <Arduino.h>
#include <IRremote.h> //Import IR Remote library
/*
* SimpleReceiver.cpp
*
* Demonstrates receiving NEC IR codes with IRrecv
*
* Copyright (C) 2020-2021 Armin Joachimsmeyer
* armin.joachimsmeyer@gmail.com
*
* This file is part of Arduino-IRremote https://github.com/Arduino-IRremote/Arduino-IRremote.
*
/* Author: Mallory Benna
* Date: April 8, 2021
* Purpose: To test input for changing NeoPixel display by function control
*/
#include <Adafruit_NeoPixel.h> //import NeoPixel library
#define LED_PIN 8 //Pin connected to NeoPixel on Arduino
#define LED_COUNT 256 // Number of NeoPixels attached to Arduiino
/* Author: Mallory Benna
* Date: April 8, 2021
* Purpose: To test input for changing NeoPixel display by function control
*/
#include <Adafruit_NeoPixel.h> //import NeoPixel library
#define LED_PIN 6 //Pin connected to NeoPixel on Arduino
#define LED_COUNT 256 // Number of NeoPixels attached to Arduiino
// NeoPixel test program showing use of the WHITE channel for RGBW
// pixels only (won't look correct on regular RGB NeoPixel strips).
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h> // Required for 16 MHz Adafruit Trinket
#endif
// Which pin on the Arduino is connected to the NeoPixels?
// On a Trinket or Gemma we suggest changing this to 1:
/* Author: Mallory Benna
* Date: Feburary 19, 2021
* Purpose: To test a passive pizo buzzer
*/
void setup() {
//none needed for this circuit
}
void loop() {