I'm currently doing my first steps with the USB IR Toy and the Pyton module. I want to implement some more functions to the python module (and share it, of course), but I got some issues that I can't explain to myself. Im trying to implement the frequency detection with the help of this documentation: http://dangerousprototypes.com/docs/USB ... pling_mode
My calculation (based on the docs) return some strage values, that can't be right, no matter where I place the remote (near, far).
Based on this example: {00}{F4}{02}{43}{03}{91}{01}{B3}
PIC timer Period 1 count = 0xf941-0x5c92=0x9caf (40111) PIC timer Period 2 count = 0x2beb-0xf941=-0xcd56 (-52566) Total infrared pulse count = 0x0001 = 1
The result looks wrong to me, especially because of the negative value of the second calculation. In the example the results of calculation 1 and calculation 2 are really close to each other - mine are really far from each other ^^
I'm currently using USB IR Toy v2 with the 2.2 Firmware.