Thanks mackrackit,
I'll hack away at a bit of the code and see what I get... Will you be around for some assistance in that arena, when I get to that point?
Thank you again... TONS!
Chris
Thanks mackrackit,
I'll hack away at a bit of the code and see what I get... Will you be around for some assistance in that arena, when I get to that point?
Thank you again... TONS!
Chris
We are always here....
Start the testing with a POT to simulated the torch.
Which PIC are you going to use?
Dave
Always wear safety glasses while programming.
mackrackit,
In looking at my options, I think the 16F88 is going to do the trick. I'de like to plan ahead to do something like this on the front of the cnc pc. I dunno, let me know what you think... And again, thank you so much for your help. I'm working through the code as we speak
Chris
At this point I would say whatever you have laying around. The 88 is good for starters. Might run out of memory or pins later but might not.
But how are you writing code if you have not picked a PIC?
Dave
Always wear safety glasses while programming.
I have opted to write the code for the '88. Hopefully I don't run out of space. I'll keep you posted on that one.
Major stupid question...
If I declare something like Number var BYTE...
Then I do: Number = 1.01567
Does that get truncated to 1, or something else, or rejected altogether?
Wow, I feel like a moron for asking! Sorry.
Chris
No problem with the questions.....
Unless you get into floating point routines we are stuck with integer math.
But if You need to be more accurate there are ways to do so. Basically mutiply by a power of ten and ...... Well you get the idea.
So it would become 1.
The PBP manual has a good section about the math.
Dave
Always wear safety glasses while programming.
Bookmarks