After progress in serial communication i want to try to make a window on computer for interfacing uC PIC16f877 to light led by pressing switch..
so, i want your suggestion that visual basic or processing which one to used as i have learned little bit processing software no idea how to interfacing extra tings in it...
Serial programming in windows is reletively easy... there is a module called MSCOMM its comes with the API so it's available to all the languages.... There are examples on the MSDN help pages on the MSDN web site.
You will have to learn C# or VB6 ( You might not get hold of this now, you'll have to use VB 2012 express )
Your first step is to download visual studio express and get familiar with it.
I will not be showing you how to use the interface.... I will not have time to do this... Suffice to say there is more examples on the net than you'll ever need.
The pattern is always the same. You answer a ridiculous question and it's followed by another ridiculous question, ad nauseam.
Although, going by his signature, he seems to be making progress but alas, a big step backward. He mastered PWM on a pic over a year ago but had forgotten it again by this April!!!! Weird huh.
Ian, you have the patience of a saint.
Edit, Don't click on RITESH's work page as it messed up Eric's computer.
Although, going by his signature, he seems to be making progress but alas, a big step backward. He mastered PWM on a pic over a year ago but had forgotten it again by this April!!!! Weird huh.
You are not doing anything on your own. You do not practice by writing your own code. You do not read the datasheets to find proper registers/settings. You continuously copy and paste other peoples' work instead of writing it out yourself. You insist on asking us every single question you have rather than trying to find the answer yourself first. Most of your questions can be answered with a very quick google search or a brief glance at the datasheet, but you refuse to do either. Lastly, and probably most importantly, you are not learning the basics. You should know by now the difference between "int" and "char". You should know how to initialize variables and set the registers to the proper settings. But instead you try doing more complex things without any knowledge of the basic principles that make it work.
I thought the thread should have ended when you told him to learn VB. I think Derstom8 is spot on and it's time the OP started using google and data sheets.
Ritesh said that he knows "processing", so I actually read some of the specs of that "language" and it seems like it is possible to do rs232 communication with it..
Parameters
parent PApplet: typically use "this"
irate int: 9600 is the default
iname String: name of the port (COM1 is the default)
iparity char: 'N' for none, 'E' for even, 'O' for odd ('N' is the default)
idatabits int: 8 is the default
istopbits float: 1.0, 1.5, or 2.0 (1.0 is the default)