Recent content by hwholmes

  1. H

    Why do IF statements need expressions and not work on simple values?

    Pardon me if this has been discussed before or is on the wish list (a quick search was not good enough for me to find one.) Most other languages with which I am familiar (including BASICs) allow statements such as: IF {variable/constant/expression} then ... do something etc. but PICAXE Basic...
  2. H

    M2 compiler (or interpreter?) error with literals (constants) and SerOut

    This is a test version of my LocoNet interface (referenced in another thread several months ago ) to prove to myself that I understood the message format. (I did!!) However while writing the code I stumbled on something that stumped me for days until I accidentally stumbled on a solution. I am...
  3. H

    HSEROUT break

    In the manual I found the following: HSEROUT break, ({#}data,{#}data...) - Break is a variable/constant (0 or1) which indicates whether to send a ‘break’ (wake-up) signal before the data is sent. However the details/length of the break are not specified. I am looking for a ~15 bit...
  4. H

    Is there a consolidated list of differences between versions of the 40X2 chips?

    I have a few early 40X2's (before they were refered to as -5v). The pinout I received at the time did not include the SRNQ pin now shown on the new enhanced chip. Is there a list of all the differences? I have found some of them scattered about i.e. the input types for the pins and the voltage...
  5. H

    Can HSerIn monitor HSerOut? Has aanyone Succeded?

    I want to linkup with a multi drop serial network and need to be able to detect collisions. The bus will be loaded with a pulup resistor (similar to i2c) and I would like to be able to drive it with an _X2 based HSerOut. (I will use a diode between the HSerOut pin and the bus if needed.) I...
  6. H

    Is there a consolidated list of FSRs?

    I have seen several posts refering to peek/pokeing the FSRs. I am wondering if there is any one place to get a synopsis of them along with the tricks of access i.e. droping the F in the address in chips where only byte values are allowed (I think that is the way to interpret one article I...
  7. H

    Request for explaination of SETINT text in Vol 2.

    The editer help (F1 popup) confirms that the SETINTFLAGS command is not permitted in M2 chips but in vol2 version 7.7 (and several previous editions) I find the following text,in the explaination of the SETINT command on pg 216 top paragraph: Assuming the antecedent to "They" is "M2, X1, X2...
  8. H

    factoring commands in M2 Parallel programming

    I have lost track of the thread where (i.e. IF) command factoring was described for (18)M2 parallell processing. Search doesn't like 2 letter words (IF) and I haven't come up with a combination ofother words that has located the thread from several months back Is there a doc/writeup about this...
  9. H

    Symbols as Macros

    I noticed in some code I was reading, that symbols were (or seemed to be) being defined by other symbols. This got me to thinking about another proprietary language I used in my work where they where our "symbols" were called "labels" and it turned out were simply text substitution. Some of...
  10. H

    Monitoring I2C traffic

    I am a glutton for punishment. I understand that the 18M2 and others that have I2C capability are not inherently multimaster capable. I have a use for many seperate uPs to announce a change in their status to a central computer. I have found a bridge for I2C to RS232 which is an I2C slave...
  11. H

    I2C Address zero but no response

    If I interpret the specs correctly, I2C slaves should all respond to address zero as a broadcast but my applications seem to be ignoring it. Is this the correct behavior for a PICAXE 40X2? Bert Holmes
  12. H

    Multiple window functionality

    I would like to see the ability to scroll the program while viewing the data being reported by the PIC. I understand that it is probably necessary to close the feedback window in order to download but it would be helpful to be able to look at various parts of the code while the feedback is...
  13. H

    hser functions in 40x2 - others??

    I have finally succeded after several hours of trying almost every thing else but what worked in geting my computer to communicate using hyperterminal with the 40x2 on the hser port. Since I was also using the serial download link to get information back while testing I then tried to swap the...
  14. H

    Manual Font and Variable Descriptions

    Being new to PICAXE, I decided to "READ THE MANUAL" before jumping in to the editor. On pages 18 & 19 I found the following text: The byte scratchpad pointer variable is broken down into individual bit variables: bptrl = bptr7 : bptr6 : bptr5 : bptr4 : bptr3 : bptr2 : bptr1 : bptr0 & The...
Top