mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday4
mod_vvisit_counterYesterday10
mod_vvisit_counterThis week32
mod_vvisit_counterLast week56
mod_vvisit_counterThis month138
mod_vvisit_counterLast month267
mod_vvisit_counterAll days22917

We have: 1 guests online
Your IP: 10.2.31.21
 , 
Today: Απρ 16, 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