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 2:b1ba1e6b10be, committed 2020-02-06
- Comitter:
- bfotak
- Date:
- Thu Feb 06 19:19:52 2020 +0000
- Parent:
- 1:8ca4855400f0
- Commit message:
- nezz ak sad ne uspije;
Changed in this revision
fotopanel.h | Show annotated file Show diff for this revision Revisions of this file |
spi.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/fotopanel.h Thu Feb 06 19:13:17 2020 +0000 +++ b/fotopanel.h Thu Feb 06 19:19:52 2020 +0000 @@ -1,7 +1,4 @@ #include "mbed.h" -Serial pc(SERIAL_TX, SERIAL_RX); -DigitalOut myled1(LED1); -AnalogIn in5(A5); void fotopanel() { @@ -10,15 +7,6 @@ fotopanel = in5.read(); pc.printf("izmjerena vrijednost: %f\n\r", fotopanel); wait(0.5); - } } -/* -int main(){ - while(1){ - float fotopanel; - fotopanel = in0.read(); - pc.printf("izmjerena vrijednost: %f\n\r", fotopanel); - wait(0.5); - } -}*/ +
--- a/spi.h Thu Feb 06 19:13:17 2020 +0000 +++ b/spi.h Thu Feb 06 19:19:52 2020 +0000 @@ -1,8 +1,5 @@ #include "mbed.h" -DigitalOut myled1(LED1); -AnalogIn in5(A5); - void fotopanel() { while(1) {