Things used in this project

Code

Arduino Uno + HC-05 simulated skimmerC/C++
int state = 0;

void setup() { 
 // initialize serial interface and give a small delay to let the system settle
 Serial.begin(9600);  
 delay(50); 
} 

void loop() { 
 // if something is sitting in the serial input queue
 if (Serial.available() > 0) { 
   // grab value from the queue
   state = Serial.read(); 
 } 
 // mimic a skimmer by replying to a 'P' with an 'M'
 if( state == 'P' ) { 
   Serial.print('M'); 
 } 
} 

Credits

Punk toon 1xl7ztsvz5
Trey Schisser
1 project • 0 followers
Network engineer by day, with some programming, design, and manufacturing experience.
Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Add projectSign up / Login