Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
karolfirst
hello all
to jest muj pierwszy tekst a zarazem projekt fotka ponizej:
tu jest kod programu
include the mbed library with this snippet
// Toggle a LED #include "mbed.h" DigitalOut led1(PB_1); DigitalOut led2(PB_2); AnalogIn potencjometr(PB_0); float x ; int main() { led2=1; while(1) { x=potencjometr.read(); if (x>=0.5) { led1 = !led1; wait(0.05); } if (x<0.5) { led1 = !led1; wait(0.3); } } }