mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday4
mod_vvisit_counterYesterday7
mod_vvisit_counterThis week67
mod_vvisit_counterLast week37
mod_vvisit_counterThis month125
mod_vvisit_counterLast month279
mod_vvisit_counterAll days23183

We have: 2 guests online
Your IP: 10.2.31.33
Mozilla 5.0, 
Today: Μαϊ 15, 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