Hi,
I am currently using JALEdit compiler because JAL was the fastest language I could learn for PIC.
While I have downloaded JAL a couple of times to give it a spin, I've never got around to writing as much as a single line of code for it. I mostly wanted to take a look at it becauseI did alot of Pascal code back in the eighties and JAL is claimed to be a Pascal-like creature, but its support is a bit marginal IIRC.
I bet you'd be even faster into something like PicBasic(/Pro) though and for small cores and time critical subroutines on larger cores, you'll need to learn a bit assembler as well.
Anyways... I cannot help you much on the JAL code you'd need - but the JAL community should be able to help (if you can find it).
I currently use a PIC 16F84A because I have a lot of tutorials on it but I can learn about and use any other PIC at any time.
About now, if not sooner, would be a good time
The 'F84 is a dinosaur and expensive for what little resources it has got. 16F628 is the nearest more current replacement - much cheaper and with a lot more resources (peripherals and program storage etc.). Any 'F84 code can be easily converted to 'F628.
I would prefer a wireless connection, by remote or PC but preferably PC. I also would wish to learn how to establish a wired connection.
Sounds like you're asking for us to write you a generic tutorial
Plenty exists already, try:
http://www.gooligum.com.au/tutorials.htmlWireless means you have to buy some of the small ISM-band modules. If you want two way comms. you need a transceiver at each end. The rest is just like with a wire - when you have decided on the rest that I mentioned.
If it's for short range with line-of-sight, IR is another option, but you have to decide on the rest of the parameters first, as the solution depends on them.