Thanks again Jerson,
I thought that's what you meant by a stepper coil table... but I have no need for that.
The steps that I refer to in the 'BRANCH' command, are process steps in my...
Type: Posts; User: rossfree; Keyword(s):
Thanks again Jerson,
I thought that's what you meant by a stepper coil table... but I have no need for that.
The steps that I refer to in the 'BRANCH' command, are process steps in my...
Hi Jerson,
Thank you for your feedback.
I don't have enough experience to know why I would use 'select case' over 'branch'. Is there a speed gain? Keep in mind my example is somewhat bare...
The point of this code example is to show how I am accomplishing multiple movements at the same time. Quite frankly I don't know another way and would like to know if others are doing it differently....
I am a using PicBasic Pro to program machines at work. I have no peers around me that I can lean on for support or ideas. I know I'm not very good at this stuff and I learn best when there are others...
Thanks guys. I will upload later today.
Came to a stopping point last night. The machine is not finished but it runs and runs well. Still have operator control menus to write and a couple more...
Hi all,
I'm in the final stages of programming a semi-automated machine I designed for work. I'm a mechanical designer by trade but hobby a bit in electronics and programming. I talked my boss...
I got it working. Here's the code I used:
CMCON = 7
TRISA = %111000
TRISC = %111000
porta = 0
portc = 0
Push var porta.4
'****************************************************************
Hi,
Thank you for your response!
I want all of the LED's to stay ON. But the first two turn off. I don't understand why. I suspect I need to do something to PORTA that I have not done. PORTC is...
I'm trying to write a very simple program but can't get off the ground. I don't read data sheets very well though I have spent hours trying. Much of it simply goes over my head. I feel sure that I'm...
A VAR WORD
B VAR WORD
TNTH VAR BYTE
HUNDTH VAR BYTE
A = B * 100 'A is temporary storage of computation
A = DIV32 558 'using DIV32... B can be any integer up to 65534
TNTH = A DIG 1 'GRAB...
It may be a little late to point this out but...
STARWARS ISN'T REAL!...
.
.
.
.
.
.
.
Not knowing the size of B, I've used DIV32. B can be any integer up to 65534.
A VAR WORD
B VAR WORD
A = B * 100 'A is temporary storage of computation
A = DIV32 558 'using...
...You could even pre-program the chip to call an mp3 file that sounds like the base commander is calling you on your headset. HA! It could add to the realism.
The processor need not be bigger...
Dave,
It seems like there is an answer in using several of the ideas mentioned. Using the PIC as your control device to since when you are speaking, a simple lm386 sound distortion circuit for...
I recommend the element of surprise...
Do you see how careless those storm troopers were! It would be easy to conseal a light saber in the crowd. Just at the right moment... POW! BAM!
BLING! Cut...
Yep... that should do it.
Thank you Skimask
Ross
I know there is a way... but can't find it in a search and can't remember how to do it...
I would like to insert a three-bit number into a byte or word such as...
Put 110 into byte xxxxxxx and...
Skimask, there for a minute I was looking for a lamb to slaughter. Your words made me ssshhhhiiiivvvverrrr... no wait... I had my had on the fuse block. Made me think I should be naked with lit...
Listed below are voltage measurements I took off of a MAX232. The circuit is a carbon copy of the bootloader circuit found on Mecanique's Microcode Studio Website:
...
Alright... let me re-phrase that.
Thank you Skimask for your help and polite comments! And again let me say how much I appreciate all who contributed to the correction of my most dispickable...
Happiness is a board that programs with the bootloader!
That was the problem... the 876 is happy and computer is chitting at it merilly. It was the mirrored D-Sub. A mistake I can live with... but...
I just checked the data sheet on the 876 (is everyone proud of me! :-)
Using the bootloader and a MAX232, I am using high voltage programming? Yes? and the PGM pin is associated with Low Voltage...
Do you have 16F876 or 16F876A selected in your programmer, or which chip do you have?
I'm using a 16f876. Microcode Studio is also set to 16f876.
It's a thought...
How about the PGM...
To Pic_User,
Thank you for your reply.
Did you etch it yourself? No... PCB123. I made two boards. No solder-mask or SS. And I found a problem earlier... my metal can crystal was intermittantly...
Thank you for replying...
I am not having trouble with the breadboard. It's my new circuit board that does not allow me to program the chip. On the breadboard, I can program just fine.
I do...