Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    3,332

    Re: Trying to stay on wifi network

    Henrik,

    It is using DHCP but the lease time is a couple days, so it's maintaining the same IP when it reconnects. The AP just drops it when it sits quiet for a while.

    I ran a test and set up a...
  2. Replies
    2
    Views
    3,332

    Trying to stay on wifi network

    I have a board set up which is attached to an Microchip wifi module MRF24WGOMA. The project is for this to receive a signal.

    On some networks, if it sits too long, the access point kicks it off...
  3. Replies
    4
    Views
    3,747

    Can MCSPX be used with Arduinos?

    I was reading in SERVO magazine an article about using Great Cow Basic compiler to write code in basic for Arduino. Since I'm already familiar with the Pic Basic Pro, I was wondering if this could...
  4. Replies
    2
    Views
    4,919

    Re: Multi timer interrupt question

    I'm trying to start with just getting one timer to work and do the usual "Flash an LED", or actually toggle between 2 LED's so I can tell where in the timing sequence it is. With what I have below,...
  5. Replies
    2
    Views
    4,919

    Multi timer interrupt question

    I'm going to use Darrel Taylor's interrupt program and want to run 2 separate timers. So when input 1 is on the timer starts and runs and can be reset. While it's timing I want to turn different...
  6. Thread: Interrupt 101

    by Hylan
    Replies
    16
    Views
    16,122

    Re: Interrupt 101

    I did a search and think I found some examples, sorry for the premature post.
  7. Thread: Interrupt 101

    by Hylan
    Replies
    16
    Views
    16,122

    Re: Interrupt 101

    I'm finally back looking at this again and would like to use the RX2 pin as the interrupt trigger when a serial string comes in on my 18F6520 chip.
    I'm currently using a hserin command and just...
  8. Replies
    10
    Views
    10,576

    Re: Change a variable to the opposite?

    Doh! Since you posted the truth table, you are correct that I did not RTFM. Before my original post I tried to but didn't know where to look. Now I do and since most of the code uses binary I...
  9. Replies
    10
    Views
    10,576

    Re: Change a variable to the opposite?

    Megahertz,

    If I understand yours correctly, you're raising the value to the power of 15? How did you come up with 15? Is that a function of the 4 bits? So if it is an 8 bit variable what would...
  10. Replies
    10
    Views
    10,576

    Re: Change a variable to the opposite?

    I came up with:

    For I = 0 to 3
    if BCD_In.0[I] = 0 then
    BCD_In.0[I] = 1
    else
    BCD_In.0[I] = 0
    endif
    next I
  11. Replies
    10
    Views
    10,576

    Change a variable to the opposite?

    I want to connect a BCD thumbwheel to my board. However, instead of 1001 = 9 which is what the thumbwheel outputs, I need 0110.

    I'm not sure why the circuitry is like this but I was wondering if...
  12. Replies
    1
    Views
    3,587

    Re: Hserin Array Question

    Okay, so I think I was over thinking this a bit. I'm able to switch my RxDATA1 & 4 to binary so now I can just use:
    hserin [bin RxDATA1, skip 1, dec RxDATA2, dec RxDATA3, bin RxDATA4]
    This seems...
  13. Replies
    1
    Views
    3,587

    Hserin Array Question

    I just started to test out using Hserin.

    I first did a test using

    Hserin [dec Data]
    if Data > 1 then
    LED = 1
    else
    LED = 0
    endif
  14. Replies
    8
    Views
    6,870

    Re: SPI, SCK Pin set up

    I was doing some more reading on the shiftin/shiftout on the forum and it looks like that replaces the hardware pins and you can’t use them together. Since I don’t need interrupts, it looks like...
  15. Replies
    8
    Views
    6,870

    Re: SPI, SCK Pin set up

    So I'm finally back home and somewhat on a regular schedule and digging back into this. I like the idea of using the shiftin/shiftout command as I could use existing pins and maybe be able to use an...
  16. Replies
    8
    Views
    6,870

    Re: SPI, SCK Pin set up

    Henrik,
    Yes, the pic will be the master and the other device will be the slave. I'm hoping someone has worked this out and can explain how to do this.
    Hylan.
  17. Replies
    8
    Views
    6,870

    Re: SPI, SCK Pin set up

    Also, just found some info on the slave unit. It says it uses (mode 1) for clock phase and polarity. So the SCKline idles high and data is setup on the falling edge of the clock and latched on the...
  18. Replies
    8
    Views
    6,870

    SPI, SCK Pin set up

    I'm using a slave module on a project and so I need to tie my SCK pin on my pic (18F6520) to the other device. I was using the pin originally as a standard variable port.

    I was looking through...
  19. Replies
    4
    Views
    3,264

    Re: 128 bit variable???

    Henrick,

    This is very helpfull. I just got Hyperterminal running so I can see the output. I will begin trying this out.

    Thank you! Thank you!
    Hylan
  20. Replies
    4
    Views
    3,264

    Re: 128 bit variable???

    Henrik,

    I really appreciate it. I haven't used arrays before, so this will be good learning for me.
    So what is the $55 ?
    I sort of understand how the loop is adding to the array in each pass....
  21. Replies
    4
    Views
    3,264

    128 bit variable???

    I'm playing with an encryption module where I want to combine 3 bytes and it will pass 128bits encrypted back. I will then pass this on and reverse the process later. I'm using an 18F6520 chip with...
  22. Thread: Interrupt 101

    by Hylan
    Replies
    16
    Views
    16,122

    Re: Interrupt 101

    Beautiful! I've got the interrupt working properly on the one pin. Now I can start playing with all the other layers and types. I'm sure I will have more questions but at least I've got a starting...
  23. Thread: Interrupt 101

    by Hylan
    Replies
    16
    Views
    16,122

    Re: Interrupt 101

    Okay, I've been looking at Daryl Taylors interrupt programs as recommended by Steve. I downloaded everything and tested the blinky blinky to make sure it worked. I changed the toggle pin to one on my...
  24. Thread: Interrupt 101

    by Hylan
    Replies
    16
    Views
    16,122

    Re: Interrupt 101

    Beautifull! I feel like I now have enough to be dangerous or at least dangerous in a productive, 'hmmm that didn't work but I learned something' sort of way.

    Thank goodness for reprogrammable...
  25. Thread: Interrupt 101

    by Hylan
    Replies
    16
    Views
    16,122

    Re: Interrupt 101

    Henrik,

    I appreciate it. I've been looking at the datasheet and it's starting to make more sense. I'm not a programmer or circuit designer but am having to learn as this falls under the "other...
Results 1 to 25 of 59
Page 1 of 3 1 2 3