Hello I am reading serial from Arduino. They are correct but I want every 3 values to store my data to 3 different variables for R G B color as int. The code below does not work - Why the integers give 0 when I print them but before I convert to int the value is printed correct? can you please help?any hint very appreciated.
I have the piece of code below. After a number of steps lets say, after drawing 100 lines, I would like to delete the line that I drew first then the second etc. and my script continues infinitely by drawing and deleting.Can somebody suggest how I can achieve this?any hints highly appreciated.
I copied the following code from the a book. It is the code for the cellular automaton 30. What I want this script to do is to print my automaton like it would normally do but when it reaches the line 30, to leave it blank. I do this by deleting the line 30 when the automaton reaches the 31st line. Any other hint how to do this on the go by temporarily keeping the values of the line 30 but not displaying them?thx