The dallas 1-wire library starts with a pin definition, like: var volatile bit _1w_dq is pin_b4 var volatile bit _1w_dq_dir is pin_b4_direction Once these...
... through the program. ... above but at the same time also another 1-wire network on another pin (for example b3). Hi Bert, The logical question will be :...
... Hi Vasile, This is correct. In my particular application (a subsumption robot) it is convenient to use only one device (actually another pic) on a wire....
... two ways: you can modify the Dallas routines 1. add if statements to select the correct pin 2. pass the correct pin (and probably the direction bit too) as...
hi Bert, ... Then there's no need at all to use I2C, which is meant for more (addressable) devices on 1 wire. Why not just bit-bang the correct IO-pin, like...
... Wouter, I've tried passing them to a subroutine as "bit in" but that didn't work. So how do I pass volatile parameters? Have fun, Bert www.vandam.tk...
... volatile bit in out (I assume you need both read and write?) Note that volatile parameters are a seldom-used part of Jal, so the chance of 'living in...
... Hi Stef, I'm not using i2c but a modified version of Dallas one-wire. It's an older (and stripped) version of the lib that's on your website. It uses...
... I suppose my interesting times have already started :) It gives an error "type not known" at the word volatile in the following procedure header: -- Write...
... try 'bit volatile out' ('in' for the right side of an assignement!) Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische...
... Much better. But now I get an "assertion failiure in assemble.c" at the very first line in the subroutine where the volatile var is used. BTW Does this...
... That's for the current Jal maintainers :) ... Not that it matters much withe the current compiler, but a variable that connects to the outside world must...
Are you saying limit the use of volatile declarations? or is this specific to subroutines? I expected volatile variables to be the default safest choice,...
... Yes for volatile *parameters*. But I think they are not often used. The jprint lib is on place where they are used, and this happens to be a lib that has...
Just uploaded some new stuff to my website such as combined libs for a few pics, single wire communication and a preliminary subsumption experiment. Have fun, ...
Hi, Ive been developing some code for the PIC16F88 using the jpic16f88 last modified by: -- 05-Jul-2004 Adapted for the 16F88 by Tim Sweeney that I found in...
wow... okay I hate to reply to my own message but I just found out something pretty crazy.. Using "JAL 0.4.60 windows exe w/16f88 fix" from the files section I...
... Who ? Javier seems to be in holiday and Eur since visited the south of France is not working with PIC's anymore, maybe he change PICs with some beautiful...
... and made some minor modifications to get the following functionality for the 12F675 PIC: read analog signals, switch pins from analog to digital, rs232...
... Hi Sjoerd, If you look at the table on the 12f675_bert page you see that an1 has been disabled for analog input because it is configured as the rs232 input...
Hi Chester JAL only recognises that can be stored in the first bank of ram. The three alternatives are to acess the other ram programmatically, to store the...
Hello, I plan to build electric cylinders (dc motor, threaded rod, screw) for some robotic use. I need to count the rod turns to track the screw position. ( IR...
... How fast are the pulses from the sensor at maximum RPM? ... Just manage to run thru your mainloop at shorter time then the pulse_period/2, then you can...
Snail Instruments
snail@...
Oct 3, 2005 7:38 pm
20515
... with ... specify ... Since I ... ideas ... has been ... input pin. ... which ones ... Bert, I was obviously looking at code too long yesterday. What I did...
... .Sjoerd Ehhm, that line is already in the example on the webpage: -- take a sample on AN2 (pin_a2) PIC_ADC_read_low_res (2, RESIST) Life's never easy on...
Thanks for the reply, So is the reason it looked like I had more file registers available in the newer version of the jal compiler(Jal_MSVC_062) just because...
Hello vereybody, I've ordered a chip, driving and adressing the chip works with a Serial Periphiral Interface (SPI). On a phonecall with Wouter he refers me to...
Hello everyboby, At this time i'm using a 16f877, it has a memory of 8K. The project a'm working on needs at least 22K (very, very much text) os a PIC with 16K...