serial program the doesn't work for first 15 lines then works correctly

Dependencies:   mbed

revision not found: shortlog