lorenzo906 / m2tklib

Automatically exported from code.google.com/p/m2tklib
0 stars 0 forks source link

Event Source Tutorial #123

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
new tutorial
1) positive logic
2) analog input on one pin
3) auto repeat (issue 117)
4) key pad support (issue 108)

Original issue reported on code.google.com by olikr...@gmail.com on 3 Nov 2013 at 6:47

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
summery:

Handler: m2_eh_4bks, m2_eh_6bks

new keys: M2_KEY_HASH, M2_KEY_STAR, M2_KEY_0, M2_KEY_1, M2_KEY_2,M2_KEY_3, 
M2_KEY_4, M2_KEY_5, M2_KEY_6, M2_KEY_7, M2_KEY_8, M2_KEY_9
Note: These keys can not be assigned via setPin --> event source required

supported by elements: M2_TEXT and M2_U32NUM

Original comment by olikr...@gmail.com on 3 Nov 2013 at 6:53

GoogleCodeExporter commented 8 years ago
auto repeat:
this could be moved to event handler, create reference implementation
delay_time
repeat_time

Algorithm:
as long as button is pressed
1. send press button for delay_time/2
2. send no button pressed for delay_time/2
3. send press button for repeat_time/2
4. send no button pressed for repeat_time/2
5. goto 3

Original comment by olikr...@gmail.com on 4 Nov 2013 at 4:59

GoogleCodeExporter commented 8 years ago
Issue 117 has been merged into this issue.

Original comment by olikr...@gmail.com on 4 Nov 2013 at 5:00

GoogleCodeExporter commented 8 years ago
started tutorial "t11"

Original comment by olikr...@gmail.com on 5 Nov 2013 at 5:24

GoogleCodeExporter commented 8 years ago
done

Original comment by olikr...@gmail.com on 7 Nov 2013 at 6:04