Try Proteus Isis Lite:
http://www.proteuslite.com/
Type: Posts; User: moby; Keyword(s):
Try Proteus Isis Lite:
http://www.proteuslite.com/
It's all in the PBP manual under the serin and serout sections.
Yes, I think that was another problem. It does seem to be working now.
Thanks.
Well, I thought it worked fine. Now having added actual code to my prgramme I can't get it to compile. It gives an error "bad expression or missing then" for the line with ABS in it:
For word_no=0...
I had never thought about the ABS function before. Many thanks, it appears to work fine.
Thanks folks. I think Dwaynes answer is the way to go. I will try it and let you know how I get on.
That's sort of it Dwayne but not quite. I think it's my inability to explain it that's the problem.
Imagine a product was made with one of say 5 identity resistors and there are also fake products...
Sorry, I didn't really explain it properly.
I need to check if var2 is between (var2-var1)/2 and (var3-var2)/2 etc.
Instead of doing two compares to see if a variable is greater or less than something, is there a way of doing a "+ or -" in one command?
I don't think you can beat Melabs serial programmer. Link it with Microcode Studio and you have an extremely ergonomic and reliable system.
I assume you are using Microcode Studio Lite. Why not upgrade to the bought version. You will then be able to use it's built in bootloader which works flawlessly.
I take your point mister_e but I'm a lazy s*d and want to sit on the sofa with a laptop. The Mplab route is not for me, I don't like Mplab.
Matt, I'll have a look at that.
Thanks both for the...
Is there a cheap simulation option for PBP like the Proteus thing bundled with the new Proton?
Thanks Steve.
Mind you, looking at the first link I'm beginning to wonder whether I can be bothered. It all looks pretty complicated.
I've been asked to write some software for a 16f877. Basically it has to look at canbus commands coming out of an MCP2515 and produce a byte output to a DAC which will provide a 0 to 10V DC signal....
Ok. Tried it with an 8MHz crystal and I get the same problem.
Debugin produces less code and runs faster than serin or serin2 so you can use a slower crystal.
I have used it for 9600 baud comms with a 4MHz many times without problems so I find it strange that...
I take your point Melanie but unfortunately the hardware is already in existence so I am stuck with using the software routines so I need to sort them out.
Hi. I am running an RF system which consists of one FM transmitter and one FM receiver. The receiver output is buffered and fed to a number of LED display boards which each have a 16f627 with a 4MHz...
Dave
Just to let you know that worked fine. Thanks.
Hi Dave
Thanks for that. I will give it a go.
So you think that the byte length need to be defined?
Hi Bruce
Changing Mode seems to have no effect. In fact tech at Allegro suggested that the clock idling high would be better.
Yes, serial out to serial in and common clock.
Both enable pins...
I have two Allegro UCN5841 serial input latched drivers cascaded and I am trying to load them with two 8 bit bytes of data. The cammand line I am using is:
Shiftout...
Has anyone a simple way of getting 16 I/O's out of one pic port?
The $ sign indicates a hex number i.e $F would be the same as 15 in decimal and $F0 would be 240 in decimal.
I'm afraid I'm fuzzy myself about ncd and dcd.
>> is shifting to the right for...