Adnan Kičin Nurif Dedagić

Dependencies:   mbed

Fork of LV5_zadatak1_grupa3_tim003 by tim003 tim003

main.cpp

Committer:
tim003
Date:
2014-03-31
Revision:
1:c6e9be44bae5
Parent:
0:f26ed78adf52

File content as of revision 1:c6e9be44bae5:

#include "mbed.h"

PwmOut peveem(dp18);
AnalogIn ulaz(dp9);

 
int main() {  
peveem.period_us(500);
int i=0; 
while(1){
    if(i%100==0){ peveem=ulaz; i=1;}   
    i++; 
    }
    
}