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...
Type: Posts; User: Hylan; Keyword(s):
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...
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...
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...
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,...
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...
I did a search and think I found some examples, sorry for the premature post.
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...
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...
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...
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
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...
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...
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
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...
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...
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.
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...
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...
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
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....
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...
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...
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...
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...
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...