Skip to content
Browse files

removed useless timer

  • Loading branch information...
1 parent 28a945e commit 71cc5117281c9497e710b43da4c4be11f9e6e2d0 @Aqua-Ye Aqua-Ye committed Mar 8, 2012
Showing with 0 additions and 15 deletions.
  1. +0 −15 src/mind.opa
View
15 src/mind.opa
@@ -1,20 +1,5 @@
import mindwave
-@client attention : reference(int) = ClientReference.create(100)
-
-get_attention() = ClientReference.get(attention)
-
-@client init_scheduling =
- Scheduler.timer(1000, ->
- if MindWave.is_present() then (
- att = MindWave.get_attention_level()
- do ClientReference.set(attention, att)
- Log.info("Attention", "{att}")
- ) else (
- Log.info("Mindwave", "NONE")
- )
- )
-
mindwave_flash =
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="220" height="400" id="FlashToJs" align="middle">

0 comments on commit 71cc511

Please sign in to comment.
Something went wrong with that request. Please try again.