Search found 31 matches

by wwsheldons
Sat Apr 16, 2016 5:22 am
Forum: General Discussion and Questions
Topic: uart problem
Replies: 8
Views: 5447

Re: uart problem

And the callback function is...?
by wwsheldons
Sat Apr 16, 2016 5:16 am
Forum: General Discussion and Questions
Topic: uart problem
Replies: 8
Views: 5447

Re: uart problem

thank you :D :D
by wwsheldons
Sat Apr 16, 2016 3:34 am
Forum: General Discussion and Questions
Topic: uart problem
Replies: 8
Views: 5447

uart problem

Does the micropython support the receive interruption of uart? And the API function is what? thank you
by wwsheldons
Wed Apr 13, 2016 11:43 am
Forum: Other Boards
Topic: Power probelms
Replies: 2
Views: 2919

Re: Power probelms

a) how do you supply PyBoard, at which pins and which suplly voltage.
b) is there an additional circuitry on you PCB.

a) the power of board supplied by LM317, which will change 24V to 5V, then MCP1802 change 5V to 3.3V.
do you give me a email? I can send the schematic to you , thank you
by wwsheldons
Wed Apr 13, 2016 7:38 am
Forum: Other Boards
Topic: Power probelms
Replies: 2
Views: 2919

Power probelms

I made myself PCB based on pyboard. when I powered the board by USB, it can work well, but if I powered it by external power, it will not work, and the LEDR2 will flash for a moment and then stop. The serial terminal can execute the program well. Why?
by wwsheldons
Mon Mar 28, 2016 1:37 am
Forum: General Discussion and Questions
Topic: can bus problem
Replies: 3
Views: 3344

Re: can bus problem

You can use a bytearray. dat=bytearray([0xab,0x30,0x20,0x10,0x00,0x00,0x00,0x00]) can.send(dat, id) You can also use the b prefix on strings: can.send(b'\xab\x30\x20\x10\x00\x00\x0x00', id); With bytearrays its kind of like an array of integers, so you can modify it after the fact as well: >>> dat=...
by wwsheldons
Sun Mar 27, 2016 11:18 pm
Forum: General Discussion and Questions
Topic: can bus problem
Replies: 3
Views: 3344

can bus problem

The can bus API has provided the function 'can.send(data, id, *, timeout=0, rtr=False)', and the data is an integer to send, or a buffer object. If I want send the data is less than 0x7f,which can be expressed by ASCII, it worked well. for example: dat=[0x40,0x30,0x20,0x10,0x00,0x00,0x00,0x00] buf= ...
by wwsheldons
Sun Dec 27, 2015 9:45 am
Forum: General Discussion and Questions
Topic: iap in micropython?
Replies: 6
Views: 6255

Re: iap in micropython?

IAP:In Application Programming, via uart
by wwsheldons
Tue Dec 08, 2015 12:23 am
Forum: General Discussion and Questions
Topic: iap in micropython?
Replies: 6
Views: 6255

iap in micropython?

can I use thr IAP funcation with micropython?
by wwsheldons
Thu Dec 03, 2015 3:18 am
Forum: General Discussion and Questions
Topic: putty has a problem
Replies: 2
Views: 2466

Re: putty has a problem

dhylands wrote:If you're using usb-serial that putty is connecting to, then that suggests that there may be a short or something on your lcd board.

I had set the ID pin of the mini—usb is bing high (5v), is it right?