Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Copyrights and Arduino Lib Inclusion #6

Merged
merged 1 commit into from
Oct 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Code/C++/finalBluetooth/receiveViaBluetooth.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
//(c) Teddy Warner & Jack Hollingsworth - 2022

//This work may be reproduced, modified, distributed, performed, and displayed
//for any purpose, but must acknowledge Teddy Warner & Jack Hollingsworth.
//Copyright is retained and must be preserved. The work is provided as is;
//no warranty is provided, and users accept all liability.

//basic function for receiving from bluetooth

#include <Arduino.h> //Arduino Parent Lib
#include <SoftwareSerial.h> //software serial library, native in base installation of ide

SoftwareSerial HC06(10, 11); //HC06-TX Pin 10, HC06-RX to Arduino Pin 11
Expand Down
10 changes: 9 additions & 1 deletion Code/C++/morsePractice/morsePractice.ino
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
//practice learning morse code with an led, buzzer or anal vibrator!
//(c) Teddy Warner & Jack Hollingsworth - 2022

//This work may be reproduced, modified, distributed, performed, and displayed
//for any purpose, but must acknowledge Teddy Warner & Jack Hollingsworth.
//Copyright is retained and must be preserved. The work is provided as is;
//no warranty is provided, and users accept all liability.

//only for learning a-h and 1-8 of morse

#include <Arduino.h> //Arduino Parent Lib

int outputPin = 13; //pin of whatever output does morse
int index;
String letters = "abcdefgh";
Expand Down
8 changes: 8 additions & 0 deletions Code/C++/receiveViaBluetooth
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
//(c) Teddy Warner & Jack Hollingsworth - 2022

//This work may be reproduced, modified, distributed, performed, and displayed
//for any purpose, but must acknowledge Teddy Warner & Jack Hollingsworth.
//Copyright is retained and must be preserved. The work is provided as is;
//no warranty is provided, and users accept all liability.

#include <Arduino.h> //Arduino Parent Lib
#include <SoftwareSerial.h>
SoftwareSerial HC06(10, 11); //HC06-TX Pin 10, HC06-RX to Arduino Pin 11

Expand Down
9 changes: 9 additions & 0 deletions Code/C++/serialTest/serialTest.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
//(c) Teddy Warner & Jack Hollingsworth - 2022

//This work may be reproduced, modified, distributed, performed, and displayed
//for any purpose, but must acknowledge Teddy Warner & Jack Hollingsworth.
//Copyright is retained and must be preserved. The work is provided as is;
//no warranty is provided, and users accept all liability.

//testing serial in new vscode environment, not sure why it's not working

#include <Arduino.h> //Arduino Parent Lib

void setup(){
Serial.begin(9600);
Serial.println("test");
Expand Down
13 changes: 11 additions & 2 deletions Code/C++/textToMorse/textToMorse.ino
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
//(c) Teddy Warner & Jack Hollingsworth - 2022

//This work may be reproduced, modified, distributed, performed, and displayed
//for any purpose, but must acknowledge Teddy Warner & Jack Hollingsworth.
//Copyright is retained and must be preserved. The work is provided as is;
//no warranty is provided, and users accept all liability.

/*

Morse Code Project

This code will loop through a string of characters and convert these to morse code.
It will blink two LED lights and play audio on a speaker.
*/


#include <Arduino.h> //Arduino Parent Lib

//**************************************************//
// Type the String to Convert to Morse Code Here //
//**************************************************//
char stringToMorseCode[] = "sex penis";
char stringToMorseCode[] = "teddy is cool";

int morseOutput = 13; //pin of morse output
int led6 = 6;
Expand Down
7 changes: 7 additions & 0 deletions Code/Python/BluetoothPy/encodingTest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#(c) Teddy Warner & Jack Hollingsworth - 2022

#This work may be reproduced, modified, distributed, performed, and displayed
#for any purpose, but must acknowledge Teddy Warner & Jack Hollingsworth.
#Copyright is retained and must be preserved. The work is provided as is;
#no warranty is provided, and users accept all liability.

testString = "encoding test"
testStringBytes = str.encode(testString)
print("Encoded String Type: " + str(type(testStringBytes)))
Expand Down
7 changes: 7 additions & 0 deletions Code/Python/BluetoothPy/sendViaBluetooth.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#(c) Teddy Warner & Jack Hollingsworth - 2022

#This work may be reproduced, modified, distributed, performed, and displayed
#for any purpose, but must acknowledge Teddy Warner & Jack Hollingsworth.
#Copyright is retained and must be preserved. The work is provided as is;
#no warranty is provided, and users accept all liability.

#basic sending program to determine whether hc-06 can function well with

import serial; import re
Expand Down
7 changes: 7 additions & 0 deletions Code/Python/BluetoothPy/toothSerialTest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#(c) Teddy Warner & Jack Hollingsworth - 2022

#This work may be reproduced, modified, distributed, performed, and displayed
#for any purpose, but must acknowledge Teddy Warner & Jack Hollingsworth.
#Copyright is retained and must be preserved. The work is provided as is;
#no warranty is provided, and users accept all liability.

import serial
from time import sleep

Expand Down
7 changes: 7 additions & 0 deletions Code/Python/ChessEngine/VNPFinal.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#(c) Teddy Warner & Jack Hollingsworth - 2022

#This work may be reproduced, modified, distributed, performed, and displayed
#for any purpose, but must acknowledge Teddy Warner & Jack Hollingsworth.
#Copyright is retained and must be preserved. The work is provided as is;
#no warranty is provided, and users accept all liability.

#currently supported, dynamic implementation of stockfish and bluetooth, "the true brains of the Von Niemann Probe"

from stockfish import Stockfish
Expand Down
7 changes: 7 additions & 0 deletions Code/Python/ChessEngine/fishNoTooth.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#(c) Teddy Warner & Jack Hollingsworth - 2022

#This work may be reproduced, modified, distributed, performed, and displayed
#for any purpose, but must acknowledge Teddy Warner & Jack Hollingsworth.
#Copyright is retained and must be preserved. The work is provided as is;
#no warranty is provided, and users accept all liability.

#complete implementation without bluetooth sending, everything else works though so can easily be iterated upon

from stockfish import Stockfish
Expand Down