8 years, 11 months ago.

"us_ticker_read()" is undefined in SoftSerial_ticker.h

i tried compiling the softserial.h file but it shows an error that in the SoftSerial_ticker.h file , "us_ticker_read()" is undefined. what should i do?

Question relating to:

Software serial, for when you are out of serial pins

2 Answers

8 years, 11 months ago.

You can go back to an older revision of the mbed lib, something was changed recently. But I will fix it in the coming days.

can you tell me where i can find the older revision of the mbed library

posted by vaibhav singh 18 Jun 2015

thanks for your response. please let me know when you have fixed the error

posted by vaibhav singh 18 Jun 2015

You can either manually include the file Martin mentioned, or right mouse button on the mbed lib, click revisions, switch to an older revision.

posted by Erik - 18 Jun 2015
8 years, 11 months ago.

I believe in the current library, you need to add us_ticker_api.h include to the file which is using us ticker read function, it's not included via mbed.h. Should be fixed in the next version of the mbed library.

thank you sir. please let me know when the next revision will be out.

posted by vaibhav singh 18 Jun 2015