Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Timed Button

  1. #11
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    What are you trying to do on upclick?

    The code above has no upclick therefore nothing should happen.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  2. #12
    Maximum Bitrate bratnetwork's Avatar
    Join Date
    Oct 2007
    Location
    Haledon, NJ
    Posts
    503
    I just added the upclick code from another momentary I had bc when i clicked the timed button it would stay down until i clicked it again but then it woulf trigger the output.

    I don't want the the upclick to do anything other than to bring the button back to the up state. I tried setting it to change just a random variable just so it would have something to do, but that didnt work. Then i tried to have it turn an unused output to the off state so it would function like the the other momentary buttons i have, but that still left the button icon in the down state.

  3. #13
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by bratnetwork View Post
    I just added the upclick code from another momentary I had bc when i clicked the timed button it would stay down until i clicked it again but then it woulf trigger the output.

    I don't want the the upclick to do anything other than to bring the button back to the up state. I tried setting it to change just a random variable just so it would have something to do, but that didnt work. Then i tried to have it turn an unused output to the off state so it would function like the the other momentary buttons i have, but that still left the button icon in the down state.
    If it is just aesthetics, change the primary and secondary button's images to the same thing, then it will look the same.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  4. #14
    Maximum Bitrate bratnetwork's Avatar
    Join Date
    Oct 2007
    Location
    Haledon, NJ
    Posts
    503
    I tried that also... i made the prim. and sec. button.png and left the pushed as button_down.png, but when i click it, it never shows the button_down.png even if i hold it - it just stays showing button.jpg... almost like its not reading the imagePushed code.

  5. #15
    Constant Bitrate
    Join Date
    Nov 2007
    Posts
    127
    do you mind posting the logic which worked for you.

  6. #16
    Maximum Bitrate bratnetwork's Avatar
    Join Date
    Oct 2007
    Location
    Haledon, NJ
    Posts
    503
    my logic is on my carpc right now which is in pieces right now. Today I have to go to a meeting in another state but when i get a chance ill get the code off it for you.

    its basically just like the logic i posted up above with the changes that 2k1toasted gave me to change to make it work

  7. #17
    Constant Bitrate
    Join Date
    Nov 2007
    Posts
    127
    oh thanks. ill wait for the codes.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 34
    Last Post: 11-06-2007, 03:42 PM
  2. Button request: Minimize
    By DaveB in forum Mobile Impact
    Replies: 17
    Last Post: 01-04-2007, 09:35 PM
  3. iGmod Beta 2 release
    By PURDooM in forum Other Cool Stuff
    Replies: 625
    Last Post: 05-12-2006, 03:52 PM
  4. Forum Really Slow
    By Quattro in forum Mp3car Forum Suggestions/Comments
    Replies: 58
    Last Post: 05-10-2005, 04:04 PM
  5. Replies: 2
    Last Post: 04-04-2005, 04:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •