I’m a noob but do have some coding experience with website code. Arduino is new for me. I was able to figure out some #define errors but now I have the errors below and am not sure how to fix. I found similar errors in the forums but the solutions didn’t seem to apply to my problem (their’s wasn’t defined).
I’m making a load cell
The errors are below. I’ve attached my code. Thanks in advance
In function ‘float analogToLoad(float)’:
sketch_load_cella:37: error: expected primary-expression before ‘,’ token
float load = mapfloat(analogval, analogvalA, analogvalB, loadA, loadB);
^
sketch_load_cella:37: error: expected primary-expression before ‘,’ token
float load = mapfloat(analogval, analogvalA, analogvalB, loadA, loadB);
^
exit status 1
expected primary-expression before ',’ token
Mike
sketch_load_cella.ino (1.72 KB)