I had a requirement to program 2764 eproms. I have written a program to do this using 'TeraTerm', a terminal program similar to HyperTerminal. The EPROM is programmed by sending an intel hex file via...
Type: Posts; User: cunninghamjohn; Keyword(s):
I had a requirement to program 2764 eproms. I have written a program to do this using 'TeraTerm', a terminal program similar to HyperTerminal. The EPROM is programmed by sending an intel hex file via...
I have been working on a program to run an AD9833 module by inputting the frequency in kHz and Hz in decimal. It is a work in progress and will end up being driven by a rotary encoder and/or a...
Dave,
Interesting approach, seems like I got too bogged down in shifting and adding multiple times rather than using the more obvious arithmetic capabilities of PICBASIC.
George,
Thanks...
Dave,
Thank you for sharing this, your method does seem a lot simpler. I don't have LONGS available but imagine this could be worked around. I would be interested in having a go with something...
Dave,
I would be interested to see how you would implement the binary/BCD conversion. The code I posted is my take on the shift and add 3/double dabble routine.
The original data will come from...
Hi all,
I was recently in need of a program to convert binary to BCD to display the result of a binary counter on a MAX7219 7 segment LED display module. Couldn't find anything suitable on the...
I now have the circuit working. I dont quite understand why the first attempt didnt work, but the following works for me. Thankyou for taking the time to solve my problem.
DEFINE OSC 4 ;WE ARE...
This is the latest code. Gave up on the SEROUT command and tryed the following so that i could slow down the sequence and see LEDs representing the signals. Cannot get anything out of the AD9850...
Thanks for the replies on the matter.
Im using a 16F628, I thought the SHIFTOUT command automatically made the named ports digital outputs, but will insert a line of code as you suggest.
...
I have bought a cheap DDS module from CHina and want to start by producing a fixed output of 500kHz, there is no LCD or rotary encoder as yet; This is my code:
include "modedefs.bas"
pause 1000;...
Thanks again for the replies on this subject. 'Derryck', i agree with your comments that it is a useful learning aid but nothing more. It would be easy enough to make a clock which was manually set...
Thanks Bob. I am pretty sure the clock is for Rugby/now Anthorn. So far I have got the pic to decode the minute information, and I have an LED flashing once per minute. I have 2 other LEDs flashing...
Thanks for the quick response derryck. I have since found a pdf on the MSF data format from a link from: http://www.timstyles.me.uk/projects/clock/clock_page.html
The site gives a design for a...
I bought a radio controlled clock yesterday from Argos for 8.99GBP and was pleased to see that it has an easily detatchable MSF receiver module. (ferrite rod antenna and small PCB with 5...
The receiver is simply the LCD display example in the picbasic pro manual, with a 4MHz crystal and uses 4 data lines to the LCD. The serial input is on pin 10. The transmitter is a 16F84 with 4MHz...
Ok I now have a working prototype, thanks to all that contributed.
Transmitter:
INCLUDE "modedefs.bas"
N VAR BYTE
FOR N=0 TO 255
serout PORTB.0,N300,[N]
TOGGLE PORTB.1
PAUSE 100
NEXT N
Thanks to everyone for the quick replies. I havent had chance to try the corrected code as yet, Ill post back when I get chance.
Regards, John
I am trying out an experiment where one pic16f84 sends out serial data, whilst another receives the data on an LCD. I can only get the LCD to display a 0 for the received data with my code. Any...
Thanks for your help so far dave, I have sorted the problem out now. I have 2 hard drives installed on my computer, and ended up with the mecanique folder on D: and mpasm on C: or something, so I...
Thanks for the quick reply Dave. The first error is 'cannot open file (include file P16f84.inc not found)
The rest of the errors are 'symbol not previously defined........'
Am I correct in...
I need some help getting started with picbasic pro, my copy arrived in the post today. I open microcode studio, and the example blink.bas. When I try to compile it I get a long list of errors. How do...