Page 1 of 1

halo,guys,I think I found a bug.

Posted: Sat Feb 11, 2017 7:46 am
by new_to_here
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? :?: :?: :?: :?:

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

Posted: Sat Feb 11, 2017 8:07 am
by 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

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

Posted: Sat Feb 11, 2017 8:41 am
by new_to_here
[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...

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

Posted: Sat Feb 11, 2017 5:41 pm
by dhylands

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

Posted: Mon Feb 13, 2017 12:34 am
by new_to_here
dhylands wrote:I created a PR: https://github.com/micropython/micropython/pull/2863 to fix the docs.

thank you very much ...