I’m just got the 1sheeld, I’m trying to control a servo with a slider and for some reason I can’t get the slider to work when I use Serial communication? I’ll leave the code file attached. If you need more info let me know. Thank you.
I think the file is to big so I’ll leave it here…
/* Include 1Sheeld library. */
/* Define a variable to hold the value of the slider. */
/* A name for the speaker on pin 11. */
/* Start communication. */
/* Set the speaker pin as output. */
/* Always get the value of the slider and output it as PWM to pin 11. */
This is normal since 1Sheeld uses the serial communication to communicate with the Arduino and that means Arduino can’t use serial for the serial statements and the 1Sheeld at the same time. So, you can’t use serial statements but instead, you can use the Terminal shield which works the same as the serial statements.