Okay, thanks Dave.
I'll just have to put it down to another one of those weird things that happens.
Cheers,
Mike
Type: Posts; User: mikendee; Keyword(s):
Okay, thanks Dave.
I'll just have to put it down to another one of those weird things that happens.
Cheers,
Mike
Thanks for your reply Dave.
BAUD Var Word works as does Byte if its less than 255.
My question is why doesn't CON work when I can't find any reference to it in the Manual and espesially...
Hi,
I have just stumbled onto a problem. If I declare the baud mode on SEROUT2 as a constant it compiles Okay but doesn't work.
eg:
BAUD CON 84
SEROUT2 PORTB.2, BAUD,["TEST",13]
But this does...
I think that you could use something like.
Delay Var Word ' Pause in us
Counter Var Word
FOR Counter = 1 to Delay
@nop
@nop
NEXT Counter
Don't know if it's just a typo, but the sub-routine labels need colons.
CCWCENTER:
CWCENTER:
I don't think they work otherwise
Mike
Thanks for the reply Darrel and thanks for giving us Instant Interrupt. It lets a hack like me get alot more out of a PIC than just blinking an led.
I am using the comparator to read the output of...
I have been trying to get instant interrupts working, using the comparator interrupt with a 16f88. In the data sheet it says:
"You may be getting stuck in an infinite loop with the comparator...
Robert,
For amplifying the output of a load cell I think you should use an instrumentation amplifier. I have use an INA114 in a situation like yours. You can buy a descrete chip or you can...
I have been using the older version of this. www.parallax.com/ProductInfo/Microcontrollers/PLXDAQDataAcquisitiontool/tabid/393/Default.aspx
This is free and the older version, Stamp DAQ, is quite...
Hi and welcome,
The code appears to be okay to me ( another newbie).
You don't need these lines as you already set TRISB = 0
Output PORTB.4 ' set RB0 as output
Output PORTB.5 ' set RB1 as...
Hi Carl,
I usually use
OSCCON = %01101000 and it seems to work. Don't forget the Define OSC for speeds other than 4MHz.
Hope this helps.
Mike
Hi,
I'm currently using PBP 2.47 and Byte Arrays to get data from a GPS. This works OK but doing any maths is compicated.
Am I right in thinking that if I upgrade to PBP 2.50 and use an...
From one Mike to another,
I'm not sure on this, but I think that you can only use modedefs.bas and N9600 mode with the SEROUT command not with SEROUT2.
I don't know if this is any help but RB3 is also CCP1. There are some conditions when this may be a problem if RB3 and RB4 are both pulled low. I don't know what other pins you have connected in...
This thread is a good start.
http://www.picbasic.co.uk/forum/showthread.php?t=3805&highlight=16f88+device
You will have to find how to get your module to output NMEA data. The coordinates...
Hi Sarma,
Thanks for your reply. I found that the problem was not with the programmer but with the 16F88 I was trying to program.
Unfortunately I only worked this out after I had bought an...
I have been using a Olimex PIC-MCP-USB Programmer with MPLABs. This programmer emulates a PicStart Plus Now I get a serial timeout message or a message that PicStart Plus can't be found. The green...
Hi Ibra,
I'm very new to this but have had to same problem. I think I was using PortA and had to set it to digital with ANSEL=0 for TOGGLE to work but
PortB.0 High
pause 200
Portb.0 Low
...
Have you had a look at the MicroChip app note AN 893 . Hopefully it might be of some help.
This should be the link to it....
Hi,
Have a look at the DIV32 Maths operator. This may help.
Hi Cameron,
I wasn't sure whether you were using the rs-232 still but these invert the signal as well as increasing the voltage to 12V. Could this be your problem?
Mike
Hi Ron,
I think this will be the solution for me. I will have to use an extra pin to select the AD7730 but then I have 2 extras from not using an xtal. I can't see whether it is high impedance...
Hi Mister-e
Thanks for the reply.
My question with the AUSART is. I have to us SHIFTIN and SHIFTOUT to talk to the AD7730 and Serout2 to send the result to another Pic.
Can I use Shiftout...
Hi,
Iam looking at using a 16F88 with an AD7730 and outputing the result in RS-232. I have read in other threads that the internal oscillator is not recommended for asynchronous serial. I have a...