> The code seems ok.
> Have you done some test to see that the sensibity has changed and
> how?
> The only one my doubt is that the Block 1 described in Sensitivity
> Settings
> at
http://wiibrew.org/wiki/Wiimote is long 9 bytes and we set only
> two byte
> and it says block 1 is 0x41, and second byte of block 2 is 0x00.
>
> Fos Level 1 we have:
>
> 02 00 00 71 01 00 64 00 fe fd 05 Wii level 1
>
> self._write_to_mem(0x04b00008,0xfe)
> time.sleep(0.1)
> self._write_to_mem(0x04b0001a,0xfd05)
>
> If I understand well I expect
>
> self._write_to_mem(0x041,0x0200007101006400fe)
> time.sleep(0.1)
> self._write_to_mem(0x00,0xfd05)
>
> But can be that I am misunderstanding. A real test could prove the
> sensivity
> codes.
>
I have test you code and it seems strange first of all the code disable
the IR
and it seems a strange behaviour and then I have doubt about registry
In my opinion this code put to level one
self._write_to_mem(0x041,0x0200007101006400fe)
time.sleep(0.1)
self._write_to_mem(0x00,0xfd05)
and this one to max sensivity
self._write_to_mem(0x041,0x000000000000900041)
time.sleep(0.1)
self._write_to_mem(0x00,0x4000)
Take in mind that your code for e.g. level 1
self._write_to_mem(0x04b00000,0x0200)
time.sleep(0.1)
self._write_to_mem(0x04b00002,0x0071)
time.sleep(0.1)
self._write_to_mem(0x04b00004,0x0100)
time.sleep(0.1)
self._write_to_mem(0x04b00006,0x6400)
time.sleep(0.1)
self._write_to_mem(0x04b00008,0xfe)
time.sleep(0.1)
self._write_to_mem(0x04b0001a,0xfd05)
might be the same that
self._write_to_mem(0x04b00000,0x0200007101006400fe)
time.sleep(0.1)
self._write_to_mem(0x04b0001a,0xfd05)
I'm trying to test the code in wmgui. With this interface you can
enable IR and send rough
command in registry. You can open wmgui then Settings/IR data and then
View/Memory read and write and then write register (the codes must be
given without 0x, it is hex as default)
Now I am testing the string inside it, I hope to see differences in the
blob size or have a greater distance with
the right maxivity level settings. Please try yourself to make this
type of testing.
I think that it is more scientific that test the running whiteboard, a
lot of changes could give false impressions.
Pietro Pilolli