Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Re: Is there a penalty for breaking early out of a For Loop with a Goto Statement?

    Thank you for your help.
    I wasn't aware of the Exit command.
    Answers my question.

    You guys really rock in terms of your support and patience for us newbies!
  2. Is there a penalty for breaking early out of a For Loop with a Goto Statement?

    I have a For Loop nested inside another For Loop and there will be times that I want to break out of the inner loop and outer loop before either of them finish.
    Can one do this with a GoTo without...
  3. Unfortunately, the GPS unit can't use 5 volts. I...

    Unfortunately, the GPS unit can't use 5 volts. I found a chip from On Semi Conductor, MC74VHC1GT,
    which looks like it will do the trick.

    Strange thing I noticed:
    I have an Atmel AT45 memory chip...
  4. Question on Schmitt Trigger input with a 3.3V Serial device

    I'm sending serial data from a small GPS unit running at 3.3V to port C4 on a PIC18F458
    running at 5V. After much hair pulling I realized the Schmitt trigger required (.8 * 5) 4V to signal
    an 'on'...
  5. Replies
    7
    Views
    3,735

    Configuration commands I am using are: ...

    Configuration commands I am using are:

    Oscillator = INTRC (INTIO2)
    Fail Safe Clock Monitor = Disabled
    Internal External Switchover = Disabled
    The configuration settings I am using are:
    ...
  6. Replies
    7
    Views
    3,735

    Eliminating that Debug issue works great!...

    Eliminating that Debug issue works great! Thanks... It was a pain writing all those SEROUT2
    commands. I'm just going to ignore the Clear command issue I'm having and just zero out my
    variables...
  7. Replies
    7
    Views
    3,735

    Bruce, I checked the bas file and it has the...

    Bruce,
    I checked the bas file and it has the line of code in it that you thought might be missing. I'm running
    the lastest PicBasicPro with the Long variable capabilities. I took out the 18F4525...
  8. Replies
    7
    Views
    3,735

    Clear Command stops 18F4525 dead

    I'm having a strange reaction with the clear command. The following simple code does not work.
    The system just hangs.

    OSCCON = %01110001 'Int CLK 8MHz
    ADCON1 = 15 '...
  9. Replies
    6
    Views
    3,805

    What's the difference between the ESD100 and the...

    What's the difference between the ESD100 and the ESD200. It says one is Class 1 and one is Class 2 but I don't really know what that means.
    Eric
  10. Replies
    6
    Views
    3,805

    Paul, As I think about it, the bluetooth does...

    Paul,
    As I think about it, the bluetooth does seem to be the way to go. My ITouch has bluetooth as well as my Blackberry. What is the range that you get with your bluetooth set up and if I may...
  11. The GPS is a couple inches away from the Pic and...

    The GPS is a couple inches away from the Pic and its oscillator. However I know the GPS tx stream is working because I can read it on the test board and anything I send from the test board to the PIC...
  12. Replies
    6
    Views
    3,805

    Think I found something

    Paul,
    There is a company called Connect 1 which makes a serial-WiFi device. It does take 200mA at 3V. The link is:

    http://www.connectone.com/products.asp?did=73&pid=98

    I'm going to give them...
  13. Looking for help on a truely bizzare Rx problem

    I've got a main pcb board with a GPS unit where the GPS tx pin is transmitting GPS data to pin D5 on an 18F4525 which is on the same board. Ok it doesn't work. I get no data using the the SERIN2...
  14. Replies
    6
    Views
    3,805

    Smartphones and PICs

    Most smart phones such as the iPhone and Blackberry phones, have wifi built into them. Is there any way to wirelessly transmit information to the smartphone from the PIC using some sort of zigbee or...
  15. Thread: N-Bit_MATH

    by khufumen
    Replies
    38
    Views
    41,531

    Works fantastically!

    Darrel,
    Thanks so much for your help. I've got it displaying the large values perfectly.
    Eric
  16. Thanks to Melanie, Ioannis, et all for your help

    Thanks for your help! The PIC is going to be used for serial communication at a 9600 baud rate so I should be good. I was not aware of the critical role that these small capacitances played in the...
  17. Question on crystal selection: parallel vs series cut

    Upon reading the specs of the 18F1320 PIC that I'm using, it says I need a parallel cut crystal. When I go on Digikey, I see lots of crystals such as the HC49/US but I don't see any mention of the...
  18. Thread: N-Bit_MATH

    by khufumen
    Replies
    38
    Views
    41,531

    How do you display large numbers in decimal format instead of binary?

    Not being the brightest bulb in the math department, I was trying to figure out how to display the value of 100000 in decimal format on the debug screen.

    So if I have the following loaded into a...
  19. New 2.46 version required to fix the problem

    Well folks, the support staff at Melabs answered my question. Version 2.45 has issues with flow control. Version 2.46 does not. So if anyone is reading this, you've found the solution to the problem....
  20. Need help on pic to pic flow control (simple problem I think)

    I have two 18F458s communicating with each other using flow control and for some reason my variables are losing their values. My code is as follows:


    Baud384NoIvn CON 6
    J ...
  21. Replies
    2
    Views
    2,440

    By George, that certainly works perfectly!!! ...

    By George, that certainly works perfectly!!!

    Thanks for your help

    Eric
  22. Replies
    2
    Views
    2,440

    Sending out 70 Bytes - need help on speed

    I have a 70 byte array that is being read into from a GPS unit. I'm trying to send the data in this array (70 bytes) out to another PIC. Is there a way to send the 70 bytes out all at once that is...
  23. Replies
    2
    Views
    2,706

    Actually the 18F458 has 32,768 bytes of code...

    Actually the 18F458 has 32,768 bytes of code space and 16,384 words of code space. I believe the specs are still incorrect on the web site. The web page reads "8192 Code Space (words)" The only...
  24. Replies
    2
    Views
    2,706

    Question on Melab's PIC description

    If you go to this site:

    http://melabs.picbasic.com/Scripts/perl/pic.pl?W1=part%3D%22PIC18F458%22&numparam=1&advsearch=1&detail=1

    You will find the 18F458 as being described with 8192 Code space...
  25. Still a bit confused

    I have declared at the start of the code ADCON = 7 to switch Pins to digital mode. Now since the 18F458 is 40 Pin PIC perhaps the 7 is the wrong number.

    I've run the following code and have noted...
Results 1 to 25 of 46
Page 1 of 2 1 2