Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Re: Sonic Depth Meter code & Math problems 12F683

    mnay thanks to all who provided help. I'm having a tough time...but only due to my ignorance. Archangel, I like the UART use of Pickit2...I need to learn how to use that to help debug. Looking...
  2. Re: Sonic Depth Meter code & Math problems 12F683

    Excuse my last reply...Henrik's number of 3020 gets me a new tap setting of 127 (perfect empty value) but when the tank is full (8" away from the sensor) the new tap reading is 42 (not 0 or 1). If I...
  3. Re: Sonic Depth Meter code & Math problems 12F683

    Thanks guys. I'm trying to understand the math here, help me out.

    What is the difference between * and **? I can't seem to find something on this forum that explains this. How does the math...
  4. Re: Sonic Depth Meter code & Math problems 12F683

    Sorry, and yes, runs once to establish one depth value based on the average of 10 readings. I have an external system that cycles the power every 5 min ultimately giving me an average reading every 5...
  5. Re: Sonic Depth Meter code & Math problems 12F683

    Have I defined my variables correctly?
  6. Re: Sonic Depth Meter code & Math problems 12F683

    92 is my rank full value, 466 is zero water in tank, 364 is 8" of water in tank which is my safe empty value.
  7. Sonic Depth Meter code & Math problems 12F683

    I'm a newbie when it comes to programming...with some previous experience, but getting old and remembering less...

    I'm creating a depth meter using a MAXSONAR ranger - using the PW output. I've...
  8. Replies
    5
    Views
    5,558

    Yep, time for me to get some rest...Can't believe...

    Yep, time for me to get some rest...Can't believe I missed that. Now I can rest peacefully.

    Thanks!
  9. Replies
    5
    Views
    5,558

    Hi, Thanks for the quick feedback - Question...

    Hi,

    Thanks for the quick feedback - Question though - why would it work if all three or two CALL lines are active?

    I tried changing the CALL to GOSUB and it still didn't work. If I add a...
  10. Replies
    5
    Views
    5,558

    Simple Blinking LED - WTF!!

    OK, I've been out of the PIC stuff for about a year now and have noticed some significant brain drain (on my behalf):)

    I am just trying to get back into the PICbasic with some simple LED blinking...
  11. Replies
    13
    Views
    14,916

    It worked. Thanks again. I think I'll read some...

    It worked. Thanks again. I think I'll read some Tom Clancey now...
  12. Replies
    13
    Views
    14,916

    Dave, thanks for your help, really appreciate it....

    Dave, thanks for your help, really appreciate it. I've been spending too many hours (very unproductive ones at that) trying to learn this thing called picbasic, and, as I'm sure you know, after you...
  13. Replies
    13
    Views
    14,916

    I kinda thought that's what I had to do...just...

    I kinda thought that's what I had to do...just didn't believe it was that simple!

    So I did that...even though I've 'told' the chip to run the external crystal and defined osc 4...I'm not blinking...
  14. Replies
    13
    Views
    14,916

    I'm not sure if you saw the photo I posted...

    I'm not sure if you saw the photo I posted above...I'm using 2-27pF capacitors with the crystal. How can I confirm that the chip is running at 20Mhz?

    John.
  15. Replies
    13
    Views
    14,916

    Ah, makes sense. So in theory, if I use...

    Ah, makes sense.

    So in theory, if I use CFG_HS_OSC to get the 12F683 to use the external oscillator on pins 2&3 and use the DEFINE OSC 4 command...then the LED's should blink at the rate of...
  16. Replies
    13
    Views
    14,916

    OK, I tried the above but didn't work. Trial...

    OK, I tried the above but didn't work.

    Trial 1:
    - using the default setting of 4 mhz, the LED's flashed at rate 'X'

    Trial 2:
    - using the osccon = %01110000 (8 mhz)
    - The LED's flashed at...
  17. Replies
    13
    Views
    14,916

    I just looked at the link...Great information! ...

    I just looked at the link...Great information! Thanks for that.

    I'll try your suggestions above today, really appreciate that too.

    Do you know if the crystal and capacitor setup is 'touchy'? ...
  18. Replies
    13
    Views
    14,916

    Setting up a 12F683 to run at 20 Mhz

    I'm trying to get the 12F683 to run on an external crystal at 20 mhz...with no luck.

    I've played with the OSCON and had it run at 1, 2, 4 and 8 Mhz. The Define command doesn't seem to do this...
  19. Replies
    46
    Views
    42,240

    I bought PBP

    OK, I have PBP now...i've loaded it up and want to try programming in MPLAB IDE but using PBP.

    I used the wizard to create the project, imported a pbp file...but the screen is blank.

    Am I...
  20. Replies
    46
    Views
    42,240

    I was going to try PDS...but the trial version...

    I was going to try PDS...but the trial version doesn't support the 12F683. I will have to pick up some 12F675's or the 16F628A to try PDS out.

    John.
  21. Replies
    46
    Views
    42,240

    Compilers

    Wow, seems I opened up a can of worms there;)

    I was looking over ASM earlier (from a beginners perspective) and learned how to convert binary to hex (amazingly simple...after a 3-finger scotch!)
    ...
  22. Replies
    46
    Views
    42,240

    I tried mikrostudio...I like the picbasic code...

    I tried mikrostudio...I like the picbasic code better (maybe because I'm learning on that platform). I also have MPLAB that came with my pickit2...but it works on asm. I appears if I get the...
  23. Replies
    46
    Views
    42,240

    Thanks, how do these compilers compare to...

    Thanks, how do these compilers compare to picbasic pro?

    John.
  24. Replies
    46
    Views
    42,240

    Thanks guys, I think I've got it working OK...

    Thanks guys,

    I think I've got it working OK now...but by copy of the picbasic compiler (with microcode studio) only limits me to 31 code lines:mad:

    As much as I like Microcode Studio...is there...
  25. Replies
    46
    Views
    42,240

    Thanks Joe, I didn't catch that, I'll make...

    Thanks Joe,

    I didn't catch that, I'll make changes and see if that fixes the input problem.

    I still have the output issue though with GPIO.3, it doesn't want to run the LED.

    Any thoughts?
    ...
Results 1 to 25 of 34
Page 1 of 2 1 2