Commit 8d3bfac2 authored by Jesse Eubanks's avatar Jesse Eubanks
Browse files

editing week13

parent 11b193e9
Pipeline #237381 passed with stage
in 24 seconds
int buttonState = 0;
const int button = 16;
void setup() {
pinMode(button, INPUT);
Serial.begin(9600);
}
void loop() {
buttonState = digitalRead(button);
if (buttonState == HIGH) {
Serial.print('A');
delay(1000);
}
else {
Serial.print('B');
delay(1000);
}
}
const int buzz = 12;
char comm;
void setup() {
pinMode(buzz, OUTPUT);
}
void loop() {
int var = 1000;
Serial.begin(9600);
if (Serial.available() > 0){
comm = Serial.read();
Serial.print(comm);
if (comm == 'A'){
while (var > 0) {
tone(buzz,var);
delay(500);
noTone(buzz);
delay(500);
var = var - 100;
}
}
}
}
No preview for this file type
......@@ -274,12 +274,12 @@ body {
</div>
<div class="w3-col l3 m6 w3-margin-bottom">
<div class="w3-card">
<img src="Images\Circuit.jpg" alt="Dan" width="100%" height="221px">
<img src="Images\network6.JPG" alt="Dan" width="100%" height="221px">
<div class="w3-container">
<h3>Week 13</h3>
<p class="w3-opacity">Interface and Application Programming</p>
<p class="w3-opacity">Embedded Networking and Communications</p>
<p>Under construction</p>
<form action="week1.html">
<form action="week13.html">
<p><button class="w3-button w3-light-grey w3-block"><i class="fa"></i> Take a Look</button></p>
</form>
</div>
......@@ -287,12 +287,12 @@ body {
</div>
<div class="w3-col l3 m6 w3-margin-bottom">
<div class="w3-card">
<img src="Images\Circuit.jpg" alt="Dan" width="100%" height="221px">
<img src="Images\interface5.JPG" alt="Dan" width="100%" height="221px">
<div class="w3-container">
<h3>Week 14</h3>
<p class="w3-opacity">Wildcard Week</p>
<p>Section is currently under construction, will be updated later</p>
<form action="week1.html">
<p class="w3-opacity">Interface and Application Programming</p>
<p>Create an interface in Python</p>
<form action="week14.html">
<p><button class="w3-button w3-light-grey w3-block"><i class="fa"></i> Take a Look</button></p>
</form>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment