This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ----------------------------------------------- | |
| -- MySQL | |
| -- @ Author Dat Nguyen and Reid Stagemeyer | |
| -- Host: localhost Database: datduyn | |
| -- ------------------------------------------------------ | |
| -- Server version 5.1.57 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * This Method delete all data currently exist in database table | |
| */ | |
| public static void deleteDatabaseTable() { | |
| String deleteT1 = "DELETE FROM `InvoiceProducts`;"; | |
| String deleteT2 = "DELETE FROM `Invoices`;"; | |
| String deleteT3 = "DELETE FROM `Refreshments`;"; | |
| String deleteT4 = "DELETE FROM `ParkingPasses`;"; | |
| String deleteT5 = "DELETE FROM `MovieTickets`;"; | |
| String deleteT6 = "DELETE FROM `SeasonPasses`;"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @Authors Dat Nguyen and Reid Stagemeyer | |
| * @Version 1.0 | |
| * | |
| * Reads data from flat files and creates appropriate products, | |
| * people, customers, and invoices. Generates a formatted invoice | |
| * report for all the invoices in the system. | |
| * | |
| */ | |
| package ims; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Driving.h> | |
| #include <math.h> | |
| SabertoothSimplified motordriver(Serial3); | |
| MPU6050 accelgyro; | |
| //declare global & local coordinates | |
| float global_x = 0.0; | |
| float global_y = 0.0; |
- What is unix? - layman Operating system.
Multiuser- several can use it at same timeMulti task- several program can run at the same timeMulti choice- multi way to do something
- Linux - open source of unix.
- design as a fun project
- started in the late 1960's with 'Multics'( somewhat is unix) Developed by Both MIT and AT&T
- note:
=sign meanis an element ofin this contextlog_n= lognn^2= n2
1. Consider the following problem: Given a set of n points in the plane, p1 = (x1, y1), p2 = (x2, y2), . . . , pn = (xn, yn), determine which pair pi, pj are closest. The distance between any two points, pa = (xa, ya), pb = (xb, yb) in the plane.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * This program will work with weather station send data to | |
| * particle electron via I2c . | |
| * put them in package and send them. | |
| */ | |
| #include <Wire.h> //I2C needed for sensors | |
| #include "SparkFunMPL3115A2.h" //Pressure sensor - Search "SparkFun MPL3115" and install from Library Manager | |
| #include "SparkFunHTU21D.h" //Humidity sensor - Search "SparkFun HTU21D" and install from Library Manager | |
| #include<stdlib.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * This program interact the electron with thingspeak, send data | |
| * @author Dat Nguyen | |
| * Date: 3/7/18 | |
| */ | |
| #include <ThingSpeak.h> | |
| #include <Wire.h> | |
| #include "Particle.h" | |
| #include <stdlib.h> |
Section
