Version 1.0, release date 2008-04-21.
Tested with N93 (pyS60 1.4.1), E61i (pyS60 1.4.2) and N95 (pyS60 1.4.2) (thanx Töte for testing!)
* How to to use Sensor API
* How to write common code for sensor and non-sensor devices
* How to write common code for different sensor combinations
* How to draw generic polygon with variable number of points
* How to use resize_callback for UI initialization
When I participated "Forum Nokia Code Camp: S60 Sensor APIs", my biggest problem was lack of python sample code. Official documentation was very short and didn't tell at all what do with given technical details, Sensor API implementation (sensor.py) was even less helpful. Finally I found the API test code. It wasn't much.
I just barely managed to make a functional script during the afternoon and that code didn't work in non-sensor devices. Had to use quite a lot of time to experiment and figure out how to do things.
This script contains everything I know about using Sensor API with PyS60. I hope it helps you to get started a bit faster!
Disclaimer: I haven't used any sensor device after Code Camp. Töte was kind enough to verify that it actually works in N95! However all possible defects are entirely my faults.