well you have to put something in the begin..
from your lib..
// Initialize library with data output pin, clock input pin and gain factor.
// Channel selection is made by passing the appropriate gain:
// - With a gain factor of 64 or 128, channel A is selected
// - With a gain factor of 32, channel B is selected
// The library default is "128" (Channel A).
void begin(byte dout, byte pd_sck, byte gain = 128);
looks like you got them pins declared too..
have fun.. ~q
Hi, it's working now.
i wondered if scale.begin(X,Y); causes the restarts or the amplifier got issue here.
I recently changed amplifier and added the function above and now it works
interesting! im not very familiar with this exception codes thrown by IDE
But i'm glad my code works now after scalebegin(SOCKETX,SOCKETY); recommended by you!