Branimir Fotak / fotopanel_1_5
Committer:
bfotak
Date:
Thu Feb 06 19:19:52 2020 +0000
Revision:
2:b1ba1e6b10be
Parent:
0:08be75f637b2
nezz ak sad ne uspije;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bfotak 0:08be75f637b2 1 #include "mbed.h"
bfotak 0:08be75f637b2 2
bfotak 0:08be75f637b2 3 void fotopanel()
bfotak 0:08be75f637b2 4 {
bfotak 0:08be75f637b2 5 while(1) {
bfotak 0:08be75f637b2 6 float fotopanel;
bfotak 0:08be75f637b2 7 fotopanel = in5.read();
bfotak 0:08be75f637b2 8 pc.printf("izmjerena vrijednost: %f\n\r", fotopanel);
bfotak 0:08be75f637b2 9 wait(0.5);
bfotak 0:08be75f637b2 10 }
bfotak 0:08be75f637b2 11
bfotak 2:b1ba1e6b10be 12