Closed robZeilinga closed 7 years ago
So, my only concern on this change is the CH340 chip is a generic usb to serial chip that is used in tons of devices. So I think labelling it as Arduino Mega clone is not a safe way to go. I have NodeMCU's that use CH340's. I think it's safer to leave this as generic CH340.
Now, for your official Arduino Mega2560, that does seem to have a set VID/PID from doing a Google search. I think that's a good change.
Thoughts?
On Fri, Jan 13, 2017 at 10:11 AM, Rob Zeilinga notifications@github.com wrote:
Hi all, First ever community edit :)
Added new collection items to deviceMeta Collection
- Arduino Mega 2560 : [{vid:"2341", pid:"0042"}]
- Mega 2560 Chinese Clones (CH340) : [{vid:"1A86", pid:"7523"}]
Please review names of boards i have chosen.
I am not sure of the purpose of the regex field in the collection item, i have commented these out for the two boards i have added.
Board Image for Clone Added megaCh340.jpg to this fork. This should be actually be located in the Chilipeppr.com/img/boards folder. (the image path in widget.js points there).
Testing : Copied spjs widget and placed in workspace chilipeppr.com/robz1 all working (apart from display of image)
Thanks for the awesome project.
You can view, comment on, or merge this pull request online at:
https://github.com/chilipeppr/widget-spjs/pull/5 Commit Summary
- Made some changes to ChiliPeppr widget using Cloud9
- Made some changes to ChiliPeppr widget using Cloud9
File Changes
- M README.md https://github.com/chilipeppr/widget-spjs/pull/5/files#diff-0 (12)
- M auto-generated-widget.html https://github.com/chilipeppr/widget-spjs/pull/5/files#diff-1 (22)
- A megaCh340.jpg https://github.com/chilipeppr/widget-spjs/pull/5/files#diff-2 (0)
- M widget.js https://github.com/chilipeppr/widget-spjs/pull/5/files#diff-3 (14)
Patch Links:
- https://github.com/chilipeppr/widget-spjs/pull/5.patch
- https://github.com/chilipeppr/widget-spjs/pull/5.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chilipeppr/widget-spjs/pull/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AHidbSKqrFomRLJEHjNS3PlzX_16qoHuks5rR75IgaJpZM4LjJmD .
100% agree. I will attempt to retract the pull request and only look for the Arduino Mega
On 14 Jan 2017 03:43, "John Lauer" notifications@github.com wrote:
So, my only concern on this change is the CH340 chip is a generic usb to serial chip that is used in tons of devices. So I think labelling it as Arduino Mega clone is not a safe way to go. I have NodeMCU's that use CH340's. I think it's safer to leave this as generic CH340.
Now, for your official Arduino Mega2560, that does seem to have a set VID/PID from doing a Google search. I think that's a good change.
Thoughts?
On Fri, Jan 13, 2017 at 10:11 AM, Rob Zeilinga notifications@github.com wrote:
Hi all, First ever community edit :)
Added new collection items to deviceMeta Collection
- Arduino Mega 2560 : [{vid:"2341", pid:"0042"}]
- Mega 2560 Chinese Clones (CH340) : [{vid:"1A86", pid:"7523"}]
Please review names of boards i have chosen.
I am not sure of the purpose of the regex field in the collection item, i have commented these out for the two boards i have added.
Board Image for Clone Added megaCh340.jpg to this fork. This should be actually be located in the Chilipeppr.com/img/boards folder. (the image path in widget.js points there).
Testing : Copied spjs widget and placed in workspace chilipeppr.com/robz1 all working (apart from display of image)
Thanks for the awesome project.
You can view, comment on, or merge this pull request online at:
https://github.com/chilipeppr/widget-spjs/pull/5 Commit Summary
- Made some changes to ChiliPeppr widget using Cloud9
- Made some changes to ChiliPeppr widget using Cloud9
File Changes
- M README.md https://github.com/chilipeppr/widget-spjs/pull/5/files#diff-0 (12)
- M auto-generated-widget.html https://github.com/chilipeppr/widget-spjs/pull/5/files#diff-1 (22)
- A megaCh340.jpg https://github.com/chilipeppr/widget-spjs/pull/5/files#diff-2 (0)
- M widget.js https://github.com/chilipeppr/widget-spjs/pull/5/files#diff-3 (14)
Patch Links:
- https://github.com/chilipeppr/widget-spjs/pull/5.patch
- https://github.com/chilipeppr/widget-spjs/pull/5.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chilipeppr/widget-spjs/pull/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AHidbSKqr FomRLJEHjNS3PlzX_16qoHuks5rR75IgaJpZM4LjJmD .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chilipeppr/widget-spjs/pull/5#issuecomment-272591536, or mute the thread https://github.com/notifications/unsubscribe-auth/ABxvRukPon8Z3WZxQC1mr_dbBKrayj8bks5rSCgmgaJpZM4LjJmD .
100% - was going to update pull request - but i see you've already done the necessary. (sorry for delay - work / life / cnc balance not quite there yet! )
thanks
On Sat, Jan 14, 2017 at 3:46 AM, John Lauer notifications@github.com wrote:
Merged #5 https://github.com/chilipeppr/widget-spjs/pull/5.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chilipeppr/widget-spjs/pull/5#event-923062165, or mute the thread https://github.com/notifications/unsubscribe-auth/ABxvRg33qZUdjyPe4YWVYncR16gNVl7yks5rSCjngaJpZM4LjJmD .
Hi all, First ever community edit :)
Added new collection items to deviceMeta Collection
Please review names of boards i have chosen.
I am not sure of the purpose of the regex field in the collection item, i have commented these out for the two boards i have added.
Board Image for Clone Added megaCh340.jpg to this fork. This should be actually be located in the Chilipeppr.com/img/boards folder. (the image path in widget.js points there).
Testing : Copied spjs widget and placed in workspace chilipeppr.com/robz1
all working (apart from display of image)
Thanks for the awesome project.