Monday, February 15, 2010

Feb. 15-19 flip-flops and lego.setFloodlight

Started trying various applications that might be useful with sensors
   (or at to be more comfortable with 4DIAC)
Need 1 or more palletes for use with Legos

Simple FBs using only FBDK:

  • Flip-flop of LED 

  • SetFloodlight using Radio_Bool and OutBool in 1 device resource


  • setFloodlight Basic FB type working
    • LCD_IN: Set on/off Bool with check box and send; [out_bool shows value sent]
    • LEGO_FORTE: Here the real light sensor would be sent the bool, but for now just passed thru.
    • LCD:OUT: Recieves the value set back, which is shown via an out_bool
  1. With just bool value just passed through using bool2bool:


2.  With a lego.setFloodlight basic function block (placeholder for actual FB interface to NXT)


(pre)4DIAC Errors:
 -1 with 4DIAC 3.7 pre-release so went back to using  3.6
 ==> -1 can be ignored.

After creating a new application must exit and restart 4DIAC to see the new system everywhere.
(similiarly for system deletes)

1 comment:

  1. The things look very reasonable.
    Could you please explain my the 4diac errors. There is nothing called 4DIAC 3.7 or 3.6. Is it in the runtime (FORTE) or in the Tool 4DIAC-IDE. However for the IDE there I gave you the pre1 version and there is the 0.3 version.

    ReplyDelete