fork of what I have been writing
Diff: ES_CW2_Starter_STARFISH/main.cpp
- Revision:
- 4:377264732a24
- Parent:
- 3:8443825642d1
- Child:
- 5:de6430aee646
diff -r 8443825642d1 -r 377264732a24 ES_CW2_Starter_STARFISH/main.cpp --- a/ES_CW2_Starter_STARFISH/main.cpp Fri Feb 28 18:02:50 2020 +0000 +++ b/ES_CW2_Starter_STARFISH/main.cpp Fri Feb 28 18:05:02 2020 +0000 @@ -152,8 +152,9 @@ osEvent evt = mail_box.get(); if (evt.status == osEventMail) { mail_t *mail = (mail_t*)evt.value.p; - - printf("Number of cycles: %u\n\r", mail->hash); + for (int i = 0; i < 32; i++) + printf("%d", mail->hash[i]); + printf("/n"); mail_box.free(mail); } }