Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analog read not working on Circuit Playground Bluefruit #318

Open
jedgarpark opened this issue Oct 20, 2020 · 2 comments
Open

Analog read not working on Circuit Playground Bluefruit #318

jedgarpark opened this issue Oct 20, 2020 · 2 comments

Comments

@jedgarpark
Copy link

Describe the bug
None of the analog read pins seem to be working for me.

To Reproduce
I hooked up a 10k pot to 3v3, GND, and A3 (tried them all eventually) then ran the code below. It never changed the graph as I turned the pot.

forever(function () {
    light.graph(pins.A3.analogRead(), 255)
})

Expected behavior
Graph level changes as pot is turned.

Desktop (please complete the following information):

  • OS: mac os Catalina 10.15.7
  • Browser: Chrome 86.0.4240.80
    -Maker MakeCode Version:
    MakeCode Maker (Cortex class) version: 0.13.60

Microsoft MakeCode version: 6.4.5

codal-nrf52840-dk runtime version: v1.1.7

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]
@benjamin-antupit
Copy link

Thanks, @jedgarpark for submitting this issue. I have also experienced this problem on Circuit Playground Bluefruit.

@nholbert
Copy link

I've run into this issue working with kids and the Circuit Playground Bluefruit as well. Is there a newer version of MakeCode that has addressed this error and also works with the Bluefruit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants