The module has two outputs for Sine Wave and two outputs for Square wave.
In Henriks handy pin-out picture he shows the two sine waves outputs, the next two pins above are the square wave outputs....
Type: Posts; User: sean-h; Keyword(s):
The module has two outputs for Sine Wave and two outputs for Square wave.
In Henriks handy pin-out picture he shows the two sine waves outputs, the next two pins above are the square wave outputs....
What about this?
YourByte var byte
YourByte=Value you set
portA.1 = YourByte.Bit0
portA.2 = YourByte.Bit1
PortC.0 = YourByte.Bit2
Place
DEFINE OSC 48 at the beginning of your code and you should be sorted.
Cheers
Sean.
I went on a steep learning curve with the ODBII stuff a couple of years ago, as I wanted to get the MUT protocol going and log on my Evo 6.
The Mut protocol is different to the ODBII but the same...
Has anyone succesfully got the QEI on the 18F2431 working successfully.
The position counter was easy enough and brilliant for making sure you have the encoder sensor lined up correctly, but...
Here is a bit of code I am using at the moment that seems to work well.
Wait for 255 to be sent from PC then samples and sends reply back.
'************************************
'Define...
Spot on, that was it I had them Rem'ed out while setting up code.
Now LCDOUT command in code, it compiles perfectly :)
Many thanks Darrel, Good Stuff.
Hi Darrel and thx for the great hack.
I have had it working fine on 16F Pics and 18F pics, but today I tried it on a USB 18F2550 and it tells me the Hijacked-LCDOUT not found.
As well as...
Hi
When using the Microcode loader, I found that on my laptop I have to hit reset and then click away the waiting for reset box to see the reset message, yet on my desktop it is okay.
I use a...
Clearing out more of the garage this end and will be adding different Pic Chips from previous projects to the Ebay list.
http://search.ebay.co.uk/_W0QQsassZclanzerQQhtZ-1
Regards
Sean.
I am placing my desktop re-flow oven up on Ebay if anyone is after one.
http://cgi.ebay.co.uk/Surface-Mount-Reflow-Oven_W0QQitemZ7610161932QQcategoryZ92078QQrdZ1QQcmdZViewItem
Regards
Sean.
Hi
Better off going for a dedicated chip like the FT232 from FTDI
http://www.ftdichip.com/
Regards
Sean.
I always found the re-flowing bit was the easy bit, getting the correct amount of solder paste on the PCB's is the trick.
In the end I purchased a air driven liquid dispenser:
...
Glad you got it working Scorpion, it is not too bad when you have all the elements in place.
Regards
Sean.
I have also found the 18F4550 very sensitive on the pins when reading in simple high or lows, especially when using in motor applications.
If I run the same the code on say a 18F452 or 16F877 then...
Hi Rocky
I got compile errors in VB2005 so sticking with VB6, does it compile okay with ,net your end?
The two main routines to worry about and get you going are receive and transmit Data...
A byte is only 8 bits so you will have to store your result in a variable defined as a Word (16bits)
Now you will need to split the word and send the highbyte and lowbyte out as two bytes.
In your...
Hi Rocky
Sorry forgot to answer this bit
In VB you will need to convert your Binary value to Decimal and then load your Bufferout(2) variable.
Here is a nice feunction example for Visual...
Hi rocky
When you call hidWriteEx(VendorID, ProductID, BufferOut(0)), what you are doing is sending a packet as such out to the USB port.
So you can define the length of that buffer in your VB...
Yep that would not of helped, you could of left it at 10mhz and asked Mecanique to re-compile a new bootloader for 10mhz, they are pretty good when it comes to that. I think they supply 4mhz and...
Hi
I found that on my laptop I have to hit reset and then click away the waiting for reset box to see the reset message, yet on my desktop it is okay.
If you follow this link it will explain...
Well done Mark, glad you got it sorted!!
It is a head banger when you have triple checked everything and yet it is still not playing ball.
It happens to all of us at one time or another.
I...
Mark you say you are using VB.
Have you simply ran up hyperterminal, set the com port to 2400 8 n 1, hit retunr to open port and then looked for the data, this will illiminate another step if the...
With Serout you need to include this at the top of your code:
Include "modedefs.bas"
N2400 will invert the bits so you can just use a resistor straight onto the serial port.
If you have a...
Visual Basic Express is the cutdown version of VB.net or Visual basic 2005 as it is now called, I even struggle to keep up with the latest versions must admit, good old Mircosoft!!
VB5 and VB6...