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.
spi.h@2:b1ba1e6b10be, 2020-02-06 (annotated)
- Committer:
- bfotak
- Date:
- Thu Feb 06 19:19:52 2020 +0000
- Revision:
- 2:b1ba1e6b10be
- Parent:
- 1:8ca4855400f0
nezz ak sad ne uspije;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bfotak | 1:8ca4855400f0 | 1 | #include "mbed.h" |
bfotak | 1:8ca4855400f0 | 2 | |
bfotak | 1:8ca4855400f0 | 3 | void fotopanel() |
bfotak | 1:8ca4855400f0 | 4 | { |
bfotak | 1:8ca4855400f0 | 5 | while(1) { |
bfotak | 1:8ca4855400f0 | 6 | float fotopanel; |
bfotak | 1:8ca4855400f0 | 7 | fotopanel = in5.read(); |
bfotak | 1:8ca4855400f0 | 8 | pc.printf("izmjerena vrijednost: %f\n\r", fotopanel); |
bfotak | 1:8ca4855400f0 | 9 | wait(0.5); |
bfotak | 1:8ca4855400f0 | 10 | } |
bfotak | 1:8ca4855400f0 | 11 | } |