Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int V1_Value = 0;
- int V2_Value = 0;
- void Read_V1(String value_Text) {
- V1_Value = value_Text.toInt();
- Serial.println("V1=" + value_Text);
- }
- void Read_V2(String value_Text) {
- V2_Value = value_Text.toInt();
- Serial.println("V2=" + value_Text);
- digitalWrite(2, V2_Value);
- }
- void p_setup() {
- pinMode(2, OUTPUT);
- }
- // This is the value that you want to send to virtuino APP
- int a = 0;
- void vLED_timer() {
- V5 = String(a); //LED in virtuino
- a = !a;
- int sensorValue = random(100);
- V4 = String(sensorValue); //value display in virtuino
- V7 = sensorValue; // string display in virtuino in text value display
- }
- void program_test() {
- //my program
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement