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.
Revision 1:d6fde250fd24, committed 2021-11-06
- Comitter:
- tv200616d
- Date:
- Sat Nov 06 08:52:29 2021 +0000
- Parent:
- 0:1e12ad223818
- Commit message:
- Tovladic Vladimir 2020/0616;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Nov 06 08:15:57 2021 +0000
+++ b/main.cpp Sat Nov 06 08:52:29 2021 +0000
@@ -1,21 +1,7 @@
+//mbed biblioteka:
#include "mbed.h"
-/*
- DigitalOut d(PB_10), c(PA_8), b(PA_9), a(PA_10), f(PB_4), e(PB_5), SEL2(PC_7);
- SEL2 = 1;
- d = 1;
- c = 0;
- while(1){
- SEL2.write(1);
- d.write(1);
- c.write(1);
- b.write(1);
- b.write(1);
- a.write(1);
- f.write(1);
- e.write(1);
- }
-*/
+//Glavna funkcija:
int main()
{
DigitalOut d(PB_10), c(PA_8), b(PA_9), a(PA_10), f(PB_4), e(PB_5), SEL2(PC_7);