hello everyone
i nead to define an a negative number
a normal posetive number i defined like
#define RSSI_UP 1
can i write
#define RSSI_DOWN -1???
thanx
hello everyone
i nead to define an a negative number
a normal posetive number i defined like
#define RSSI_UP 1
can i write
#define RSSI_DOWN -1???
thanx
Sounds good - go for it.
Let us know how it goes.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
You might want to share a bit more information on what your problem is.
Otherwise, as Salem says,Sounds good - go for it.
Let us know how it goes.
Fact - Beethoven wrote his first symphony in C