please anyone help me I need convert this code to matlab 🥺

int analogPin = A0; int val = 0; int x = 0; #include TridentTD_LineNotify.h
#define SSID "jetusedtoiw" #define PASSWORD "12345678" #define LINE_TOKEN "qrQFE2XheIbfKk4IVSnpD9aL6noBZQGaj0diw4H0ufJ" String message = "ฝนตกแล้วน้า ระวังเป็นหวัดนะ!"; void setup() { Serial.begin(9600); Serial.println(LINE.getVersion());

3 comentarios

}
void loop() { val = analogRead(analogPin); Serial.print("val = "); Serial.println(val); if (val < 500 and x == 0) { LINE.notify(message); delay(1000); } if (val < 500) { x = 1; } else { x = 0; } delay(1000);
Sawadikap. This looks like Arduino code.
oh yess✨

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 3 de Nov. de 2023

Cerrada:

el 3 de Nov. de 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by