Search results

  1. D

    shifin 9 bits strange?

    hello, use a picaxe40X1, with the ds1620 , this component shifts 9 bits: one signed bit (X) and 8 databits. So format is XYYYYYYYY The value I expect is 0 00101100 (decimal 44) When I use a shifin with 8 bits (the default) it works ok, with 9 bits shifin I get 0 00010110 (decimal 22)...
  2. D

    40x1 And Shiftin Shiftout

    Hallo all, try to use a ds1620, works fine on a basicstamp, but not sure how to use it on a 40x1. (don't want to blow up any port....) on what port can i use shiftin and shifout for the 40x1? In my opinion the data port has tot be a input/output port, the clock and reset are output ports? So...
  3. D

    division precision

    Hello, try to divide with a picaxe 40x1 how to get good results? for example, if i try: symbol pj= w0 symbol hulp1= w1 symbol hulp2= w2 main: pj=6 hulp1 = pj/8 hulp2= pj//8 goto main i get hulp1 = 0 and hulp2 = 6. I want an answer of 0.75 How can i achive this. a second thing i want...
Top