Skip to content

Instantly share code, notes, and snippets.

View esthicodes's full-sized avatar
🎹
Rachmaninoff: Piano Concerto No.2 Op.18

hona esthicodes

🎹
Rachmaninoff: Piano Concerto No.2 Op.18
View GitHub Profile
@esthicodes
esthicodes / HomeIoT.c
Created August 3, 2021 08:09
arduino
#define pinLED1 D4
#define pinLED2 D7
void setup()
{
pinMode(pinLED1, OUTPUT);
pinMode(pinLED2, OUTPUT);
}
void loop()
@esthicodes
esthicodes / 3dvision_sound_source.c
Created August 3, 2021 08:04
Arduino that would generate sound when the two pointing data is close to each other.
#include <SoftwareSerial.h>
#include <DFRobotDFPlayerMini.h>
SoftwareSerial Vicon_BTSerial(2,3);
SoftwareSerial Master_BTSerial(4,9);
SoftwareSerial MP3Module(7, 6);
DFRobotDFPlayerMini MP3Player;
int speakerButton = 12;
@esthicodes
esthicodes / hello.c
Created July 23, 2021 11:37
hello.c
#include <stdio.h>
int main(void) {
printf("hello, world\n");
}
#include <Arduino.h>
#include <SoftwareSerial.h>
#include <DFRobotDFPlayerMini.h>
SoftwareSerial Vicon_BTSerial(2,3);
SoftwareSerial Master_BTSerial(4,9);
SoftwareSerial MP3Module(7, 6);
DFRobotDFPlayerMini MP3Player;