-
-
-
-
-
-
-
Hi,
Sorry for this new message but bangle run still doesn't work on my bangle.Js but I don't know why.
Today I ran 10km with bangle run activate but the Gps logo rests in red color and no I have no distance.
I think it's not a bug with the Gps chip because I have the great time.
Does someone know what to do? -
-
-
Hey!
I'm trying to stock the RGB color code in variables but I don't know how to use it in an argument like the argument of the g.setColor() function.
Here is my code// set up the parameters of the dial var xC = 120; var yC = 120; var rC = 100; // define the RGB code for each color var red = (1,0,0); var blue = (0,0,1); var green = (0,1,0); var yellow = (1,1,0); var cyan = (0,1,1); var purple = (1,0,1); var pink = (1,0,0.5); var pulpit = (1,0.5,0.5); var lightBlue = (0.5,0.5,1); var lime = (0,1,0.2); var orange = (1,0.5,0); var darkGreen = (0.2,0.5,0.2); var brown = (0.5,0.2,0); var bordeaux = (0.4,0,0.2); var gris = (0.5,0.5,0.5); function drawCircle() { //here is the function where I want to put the variable in argument (this actually doesn't work but its to show you my idea g.setColor (blue); g.drawCircle(xC, yC, rC); } g.clear(); drawCircle();
(this code doesn't work )
I don't know how to transfer the values of one variable in the arguments
I hope you see what I'm trying to do if not ask me ;)
Thanks for your help -
-
-
-
-
Yes, I think there was something wrong with the memory because all of my data and app were lost but I have installed all the default app and know it's working.
Thanks for your help! @Robin @Gordon