tim010 tim010 / Mbed 2 deprecated LV5_PAI_Grupa6_tim010_zadatak2

Dependencies:   mbed

main.cpp

Committer:
tim010
Date:
2014-04-03
Revision:
0:a614bd85c560

File content as of revision 0:a614bd85c560:

#include "mbed.h"
AnalogIn x(dp9);
PwmOut y(dp18);

int main()
{
    wait_ms(50);
    y.period_us(50);
    while(1)
    {
        y = x;
    }

}