read again my answer and understand the difference in what you were doing compared to my suggestion
do some percent calculation... it is very simple: your value x multiplied by 10 divided by 100 is the value you are looking for
Taifun
read again my answer and understand the difference in what you were doing compared to my suggestion
do some percent calculation... it is very simple: your value x multiplied by 10 divided by 100 is the value you are looking for
Taifun
em relacao aquilo do circulo sabe como se faz?
your large if statement could be simplified like this
this will work if your images follow the same structure, i.e. 10percent.png, 20percent.png, etc
Taifun
os valores tem de ser actuais ou seja progressivos de acordo com o valor do ldr, em tempo real basicamente
outra questao como e que funcionaria usar o https no mit?
Taifun

I don't know how to get this to work; it's supposed to work like this, but it won't start on my phone.
mas atencao supomos o ldr le de 0 a 1023, se o ldr ler 100 a percentagem sera x, mas o gauge tera de mudar automaticamente de acordo com o ldr.
eu ja consegui criar a pagina html e por nos assets, mas conitnua sem aparecer nada
To access a html page in the assets use the following path to be able to test with the companion app
http://localhost/percent_gauge.html
Use the companion app and Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by
Taifun.
faltara mais blocos no gotext eu sei ja tinha feito isso so que n estava a funcinoar o wevier ent desidi remover para testar e n deu em nada a mesma
It looks like you got something running. .
Taifun
Nao!, eu vou por outra imagem mas a minha questao era da progress bar aquilo do html que lhe falei, pq isso ja tinha visto consigo e estava a dar!!, so quero que me diga os blocos que serao necessarios para isto tudo funcionar obrigado
Sorry, I'm not here to write the app for you
You are welcome to try something and if you got stuck, then to provide a screenshot of your blocks to get help from the community
Taifun
You forgot to let us know, which error you get?
Also your screenshot is of bad quality, almost unreadable...
My guess is you have to call the javascript method with the value of your gauge?
updateLuzGauge(42)
Which means only calling the value does not help very much, does it?
To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by
Taifun.