mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday13
mod_vvisit_counterYesterday5
mod_vvisit_counterThis week13
mod_vvisit_counterLast week38
mod_vvisit_counterThis month203
mod_vvisit_counterLast month283
mod_vvisit_counterAll days23799

We have: 12 guests online
Your IP: 10.2.31.21
Mozilla 5.0, 
Today: Ιουλ 21, 2024

Πρόσφατα άρθρα

Αρχική σελίδα ARDUINO Σύνδεση Arduino και LabView

Σύνδεση Arduino και LabView

Ο κώδικας για την λήψη μετρήσεων και την αποστολή δεδομένων μέσω της usb θύρας είναι:

 

int sensorPin=A0;
int sensorValue=0;
void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
sensorValue=analogRead(sensorPin);
Serial.print(sensorValue);
delay(100);
}

 

Το Block Diagram στο LabView :

ARDUINOserial