halo,guys,I think I found a bug.

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
new_to_here
Posts: 3
Joined: Sat Feb 11, 2017 7:40 am

halo,guys,I think I found a bug.

Post by new_to_here » Sat Feb 11, 2017 7:46 am

In this website:http://docs.micropython.org/en/latest/p ... b.Pin.html
It is said that "On the PYBv1.0, pyb.Pin.board.X1 and pyb.Pin.cpu.B6 are the same pin",is that right ??
I found that it is not...
"pyb.Pin.board.X1"is " pyb.Pin.cpu.A0"
" pyb.Pin.cpu.B6"is "pyb.Pin.board.X6"


so ,can anyone tell me why?
am i wrong? :?: :?: :?: :?:

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: halo,guys,I think I found a bug.

Post by dhylands » Sat Feb 11, 2017 8:07 am

It looks like that was true for PYBv4 (board.X1 maps to cpu.B6) but for PYBV1.0 board.X1 maps to cpu.A0.
https://github.com/micropython/pyboard/ ... /PYBv4.pdf
https://github.com/micropython/pyboard/ ... YBv10b.pdf

new_to_here
Posts: 3
Joined: Sat Feb 11, 2017 7:40 am

Re: halo,guys,I think I found a bug.

Post by new_to_here » Sat Feb 11, 2017 8:41 am

[quote="dhylands"]It looks like that was true for PYBv4 (board.X1 maps to cpu.B6) but for PYBV1.0 board.X1 maps to cpu.A0.
https://github.com/micropython/pyboard/ ... /PYBv4.pdf
https://github.com/micropython/pyboard/ ... YBv10b.pdf[/quote]

thank you ,bro!!!!
I think it may be a small mistake...

I'm confused about it...

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: halo,guys,I think I found a bug.

Post by dhylands » Sat Feb 11, 2017 5:41 pm


new_to_here
Posts: 3
Joined: Sat Feb 11, 2017 7:40 am

Re: halo,guys,I think I found a bug.

Post by new_to_here » Mon Feb 13, 2017 12:34 am

dhylands wrote:I created a PR: https://github.com/micropython/micropython/pull/2863 to fix the docs.

thank you very much ...

Post Reply