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.
Fork of microbit-Heartbeat-serial by
Revision 2:d04db7a8d012, committed 2018-04-17
- Comitter:
- JKsoft_main
- Date:
- Tue Apr 17 12:11:39 2018 +0000
- Parent:
- 1:83ace7df2c63
- Commit message:
- ??
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
microbit.lib | Show annotated file Show diff for this revision Revisions of this file |
diff -r 83ace7df2c63 -r d04db7a8d012 main.cpp --- a/main.cpp Mon Apr 16 16:52:36 2018 +0000 +++ b/main.cpp Tue Apr 17 12:11:39 2018 +0000 @@ -35,7 +35,7 @@ un_min=0x3FFFF; un_max=0; - pc.printf("Start\r\n"); + pc.printf("Heartbeat\r\n"); n_ir_buffer_length=500; //buffer length of 100 stores 5 seconds of samples running at 100sps @@ -52,10 +52,10 @@ un_min=aun_red_buffer[i]; //update signal min if(un_max<aun_red_buffer[i]) un_max=aun_red_buffer[i]; //update signal max - pc.printf("red="); - pc.printf("%i", aun_red_buffer[i]); - pc.printf(", ir="); - pc.printf("%i\n\r", aun_ir_buffer[i]); + //pc.printf("red="); + pc.printf("%i\n", aun_red_buffer[i]); + //pc.printf(", ir="); + //pc.printf("%i\n\r", aun_ir_buffer[i]); } un_prev_data=aun_red_buffer[i];
diff -r 83ace7df2c63 -r d04db7a8d012 microbit.lib --- a/microbit.lib Mon Apr 16 16:52:36 2018 +0000 +++ b/microbit.lib Tue Apr 17 12:11:39 2018 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/Lancaster-University/code/microbit/#4b89e7e3494f +https://os.mbed.com/users/JKsoft_main/code/microbit/#304b66ddfae1