rabBitBR
Published © MIT

Working with Arduino, Node.js and Angular

A small demonstration of the use of a web service and a data capture circuit via sensors.

IntermediateProtip5 hours12,246
Working with Arduino, Node.js and Angular

Things used in this project

Story

Read more

Code

Code arduino

C/C++
const int potenciômetro = 0; // pino de entrada do potenciômetro
int valor = 0;
 
void setup() {
  Serial.begin(9600);
}
 
void loop() {
      
    valor = analogRead(potenciometro);  
    Serial.println(valor);
    delay(5000);
}

Credits

rabBitBR

rabBitBR

3 projects • 5 followers

Comments