Search results

  1. P

    Some way to drive WS2812 LED string?

    Take a look at the previous page....
  2. P

    20M2 RAM addressing

    On page 11 on Manual 2 it says But in appendix 6 it says there are 512 bytes, and this is what the simulator shows. So how do I access the ram above 256? I tried forum search but got 500 irrelevant threads. EDIT: by further experimentation it appears that bptr is a 9 bit register, and can...
  3. P

    Read 3 bit sequence from Word

    I've been trying to understand RANDOM better. Its my understanding that I should get the same sequence of numbers everytime if I start with the same seed? But I dont. Using lbensons code in a loop Do w0=48611 ' a largish prime for a seed for b4=1 to 16 random w0 b2 = b0 & %00000111 ...
  4. P

    08M2 and DS1631 Control Register

    I'm using a 8M2 to read temperature from I2C DS1631 and format as serial data for a remote PC. Simple conversion from published arduino code, but the 1631 requires write to a control register to start the conversion. No data is involved, just needs 2 bytes sent - the device address and the...
  5. P

    No Syntax error?

    This piece of code is generated by the Datalogger Wizard. Why does the highlited line not cause an error? if address > 4095 then memory_full i2cslave %10100000, i2cslow, i2cword writei2c address,(data0) pause 10 readi2c address,(temp_byte) if temp_byte <> data0 then ee_error temp_word =...
  6. P

    Output Pin behavior on startup?

    I have a 20M2 picaxe based memory tester that functions correctly in simulation. My concern is I must ensure that my '-chip select' line does not go to a logic "0" during power up of the hardware, or it will invalidate the test. I believe that all pins are configured as inputs at startup...
Top