View previous topic :: View next topic |
Author |
Message |
ViperARG
Joined: 07 Jan 2017 Posts: 16
|
pic18f2550 usb |
Posted: Mon Jan 09, 2017 8:04 am |
|
|
Hello people, I have a question...
What program or tool do you use to develop an application for Windows to control the MCU over USB, how hard is it ?
I know how to interface an LCD, analog inputs, but I want to do a simple program to control I/O on my PC over USB, any thoughts or tips?
pic18f2550 has integrated an USB port. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9243 Location: Greensville,Ontario
|
|
Posted: Mon Jan 09, 2017 8:40 am |
|
|
I use Delphi, easy as pie.....
One GREAT aspect of Delphi is that it does NOT use any Windows DLLs or other 'stuff', so it makes tight, compact code that works on ANY PC using ANY version of Windows.
Jay |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19538
|
|
Posted: Mon Jan 09, 2017 12:36 pm |
|
|
The 'simplest' in many ways is just to use the serial port emulation. Think about it there are millions of units, which do all sorts of jobs connected to a PC via historically a serial port, or nowadays via a USB serial emulation. All you need to do is design the 'command language' and send suitable commands from the PC.
Any language that can talk to a serial port, can then be used.
CCS supply a complete driver for this, and you can test your hardware just using a terminal program. |
|
|
|