Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 5 months ago.
Please help
1 _row1trig.rise(&0); "expression must be an lvalue or a function designator" in file "/keypad.cpp", Line: 27, Col: 18
Can anyone help me with this error?
Question relating to:
1 Answer
8 years, 5 months ago.
A little more context would be nice (e.g. the contents of keypad.cpp).
I'm assuming that _row1trig is an interruptIn. _row1trig.rise() expects you to give it the function to call when the the pin rises, you are giving it a constant.