Recent content by Flitch

  1. F

    Multiplying word variable overflow problem

    I have used marks code and it work flawless, maximum error is +/- 1 mW which is huge improvement (my initial error was 50 mW, and my best scenario was 9 mW error) Thanks to everyone for help :D here's a picture with marks equation
  2. F

    Multiplying word variable overflow problem

    Hi guys, I am doing a little project for college and I have two word variables to multiply, and need to get another word as result (calculating P = U * I). My voltage maximum is 12 228 (mV) and current maximum is 1100 (mA) so power maximum should be 13 450 800 with last 3 digits ignored (divided...
  3. F

    Interrupts on both Rotary Encoder pins possible?

    Hi guys, sorry for intruding the thread but i have similar problem, got no idea how to write interupt masks for my circuit. I am using 3 buttons and rotary encoder. Priority is on encoder ofc, but it would be nice to have butons in interupt section too. This is how my encoder spins clockwise and...
  4. F

    Code Optimization for...next cycling through variables

    is it posible to optimize this in some kind of loop that will just change variables that needs switching bintoascii b2,bino,bini,binii gosub LCD_SetCursor Char = bini ' gosub LCD_WriteChar Char = binii gosub LCD_WriteChar bintoascii b1,bino,bini,binii Char =...
  5. F

    Ds1307 i2c RTC problem

    Posted only rtc revalant code, didnt even try eeprom yet (but will be problems since it "lags" with i2c slow for rtc :( 'instalacija ;----------- setfreq m32 ;Konstante ;--------- symbol seconds = b0 symbol mins = b1 symbol hour = b2 symbol day = b3 symbol date = b4 symbol month = b5...
  6. F

    Ds1307 i2c RTC problem

    Hello PA forum, My i2c clock is working very wierd, it seems to be counting ok but for some reason sometimes i read i2c buss i get time and sometimes some wierd numbers for all variables i am using this formula to convert to decimal (m2 parts). More info in attachment b0 = b0 / 16 * $FFFA + b0...
  7. F

    Nokia 1100 & 2280 gLCD modules

    hey westaust55 could you posibly check my code? i am using 20m2 so i had to modify spiout comand to a subroutine for 20m2, would be nice if you tell me if that will do the job or what i have to fix also text version: #PICAXE 20m2 #Terminal 9600 ; #NO_DATA ;Define the IO pins for outputs to...
  8. F

    Is it posible? 2 picaxe on same socket, and 2 picaxe on same i2c EEPROM

    Hello Picaxe forum, I am wondering if this cases are posible? 1. conecting 2 or more picaxes on same socket with common tx and switch to chose if picaxe1 or picaxe2 will get programed (and would ser txd work with more chips on same wire if you make sure that they dont talk in same time)...
  9. F

    Sony Ericss J210i LCD

    Hello forum, This is my first post so i will introduce myself. I am Filip from Croatia, Electrical Engineering student. ATM i am playing with "Room (home) Automation System" made some things, but now i need LCD to finish 1 of my "modules" (parts of HAS). Recently i ordered one of that cheep...
Top