I’m pretty new to programming, even in blocks… circuit blocks won’t tell me exactly why it can’t compile my code and I have not been able to figure it out. It worked before adding the B4x/y variables and R1…x/y variables
Hi @maxi.moras, is this the full code? It looks like you’re trying to use variables before assigning them a value (Blue1x
, Blue1y
, B2x
etc). Try assigning them an initial value of 0
or something in your setup (“Arduino run first”)
hi, can you reply in the code