You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not a bug, but it could be fixed depending on the complexity.
WOKWI has a weak analog signal simulation. Wokwi's simulation was not made for analog signals or "current level" simulation. In short, devices that use analog signals do not communicate with those that use digital signals. There is a simulated analog signal, which you can find in custom chips, and you will see that its signal is completely different from the digital simulation (the focus of Wokwi). And this analog signal only comes from devices built (in Wokwi) specifically to send this signal: for example, a potentiometer, LDR.
Automatically translated.
original text in pt-BR
Não é um bug, mas poderá ser consertado dependendo da complexidade.
O WOKWI possui uma fraca simulação de sinal analógico. A simulação do wokwi não foi feita para sinais analógicos ou simulação de "nível de corrente". Em resumo, dispositivos que usam sinal analógico não conversam com os de sinal digital. Existe o sinal analógico simulado, você pode encontrar ele nos chips customizados, e verá que o sinal dele é totalmente diferente da simulação digital (foco do wokwi). E esse sinal analógico só é proveniente dos dispositivos construídos (no wokwi) especificamente para enviar esse sinal: exemplo um potenciômetro, LDR.
Describe the bug
I wired the 3V3 terminal of the Arduino UNO to A0. analogRead(A0); in the simulation should give 675, but it gives 1023.
To Reproduce
Steps to reproduce the behavior, including link to a simulation project where we can see the problem.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: