Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: markcadcam; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    2,967

    Thanks Dave.

    Thanks Dave.
  2. Replies
    4
    Views
    2,967

    Attached is my code. ...

    Attached is my code.


    '****************************************************************
    '* Name: HNC Turret Controller.BAS *
    '* Started: 11/29/08 ...
  3. Replies
    4
    Views
    2,967

    Erratic Behavior on a 18F452

    I am using an 18F452 micro, running at 20 MHz’s. I have four 22k resistors, one each connected in series with pins RA0 thru RA3 with a 5 volt Zener diode clamping the voltage at each of the pins to 5...
  4. Replies
    10
    Views
    6,124

    Thanks Alain, I'll try it out tonight. Mark

    Thanks Alain, I'll try it out tonight.

    Mark
  5. Replies
    10
    Views
    6,124

    When running the code below I do NOT get 5 volts...

    When running the code below I do NOT get 5 volts out of PORTC.1. I can change the code to use any other pin on PORTC and I DO get 5 volts out. The problem is with just PORTC.1

    Mark

    Input...
  6. Replies
    10
    Views
    6,124

    Hi Alain, I've tried TRISC = %00000000 setting...

    Hi Alain,

    I've tried TRISC = %00000000 setting all to ouputs before. I get the same result.

    Mark
  7. Replies
    10
    Views
    6,124

    18f452 portc.1

    Hi All,

    I need to use PORTC.1 as a digital I/O pin on a 18F452 pic. I have looked at the documentation for this microprocessor but I could not find how to configure this pin as just a digital...
  8. Replies
    5
    Views
    2,957

    Bruce, That was the problem, I was using...

    Bruce,

    That was the problem, I was using an older version. Works fine now with the new version.

    Thanks,
    Mark
  9. Replies
    5
    Views
    2,957

    Hi Bruce, That appears not to be the...

    Hi Bruce,

    That appears not to be the problem. I have checked my .inc file and that line looks like this - LIST p = 18F452, r = dec, w = -311, w = -230, f = inhx32

    Mark
  10. Replies
    5
    Views
    2,957

    Warning Message[221]

    When I compile my project I'm getting the 'WARNING[221] c:\pbp\18f452.inc 18 : Invalid message number (231)'

    Does anyone know what this message is about? Is it anything I should be...
  11. Replies
    13
    Views
    8,133

    I think I got it now. Thanks for the help. Mark

    I think I got it now. Thanks for the help.

    Mark
  12. Replies
    13
    Views
    8,133

    Where is the x100 coming from?

    Where is the x100 coming from?
  13. Replies
    13
    Views
    8,133

    Divide by 5252, not multiply it. RPM = 12000...

    Divide by 5252, not multiply it.

    RPM = 12000
    STRAIN = 210
    TORQUE = 140
    VALUE = 5252

    A = STRAIN * TORQUE
    B = RPM
    C= A * B
  14. Replies
    13
    Views
    8,133

    RPM Max = 12,000 STRAIN Max = 210 TORQUE Max =...

    RPM Max = 12,000
    STRAIN Max = 210
    TORQUE Max = 143

    I have version 2.44 of PicBasic Pro. Will 'LONG' work with this version? Should I upgrade?

    Mark
  15. Replies
    13
    Views
    8,133

    Thanks Brian. Mark

    Thanks Brian.

    Mark
  16. Replies
    13
    Views
    8,133

    When I use the example below I get a results of...

    When I use the example below I get a results of 1019 instead of 15993.

    Ok, RPMs are 8000 and torque is 300...
    8000 x 35 x 300 / 5252 = 15993
    Divide by 10000, display that number, put a decimal...
  17. Replies
    13
    Views
    8,133

    Thanks! I think that will work. Mark

    Thanks! I think that will work.

    Mark
  18. Replies
    13
    Views
    8,133

    Math Help Please

    Hi all,

    I’m using an 18F452 Pic for a Dynamometer project. I have an amplifier feeding the a/d input on the Pic 0-5 volts. A count of 70 equals a foot-pound of torque. The problem I’m having is...
  19. Replies
    12
    Views
    8,563

    I believe I found the problem. This circuit was...

    I believe I found the problem. This circuit was designed for a 4Mz crystal and I am running it at 20Mz. I added a 'PAUSE 1" after the line 'TRISB = (DCD Row) ^ ff' to slow it down and this seems to...
  20. Replies
    12
    Views
    8,563

    I'll give it a try. Thanks, Mark

    I'll give it a try.

    Thanks,
    Mark
  21. Replies
    12
    Views
    8,563

    Hi Peterdeco1, I appreciate the feedback but...

    Hi Peterdeco1,

    I appreciate the feedback but unfortunately I have made a circuit board for this design which is already installed in a piece of equipment. If I cannot get this to work I’ll give...
  22. Replies
    12
    Views
    8,563

    Inconsistent output on a 4x4 matrix keypad

    I am using the code listed below. It is wired per this website http://rentron.com/serkey16.htm. The output from the keypad is inconsistent. Sometimes the output is correct and sometimes the output...
  23. Replies
    2
    Views
    3,012

    Thanks Paul, I guess I didn't understand how...

    Thanks Paul,

    I guess I didn't understand how to read it. I think I do now.

    Mark
  24. Replies
    2
    Views
    3,012

    Weak Pull-ups

    Hello All,

    I want to enable the weak pull-up resistors on PORTB for an 18F452 micro. After reading over the data sheet, it looks like to turn the weak pull-ups off you use INTCON.2 = 7. I cannot...
  25. Replies
    7
    Views
    5,636

    I'll check it out. Thanks! Mark

    I'll check it out. Thanks!

    Mark
Results 1 to 25 of 29
Page 1 of 2 1 2