Announcement

Collapse
No announcement yet.

Few Coding questions

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Few Coding questions

    I have my fusion brain set up in my car and working with my HVAC (well sort of, I just control the fan speeds with it so far). The only thing thats not working for me is a few codes with the skin in road runner.

    For the fan speeds i have indicators so i know what speed im on, (I dont remember what code I used of the top of my head, I am not on my comp) but it doesnt indicate. When I press the button everything works just fine but It kind of bothers me that I cant get the indicators working.

    Also the code for showing that the fusion brain is on and connected is not working.

    Those are the two things that I am interested in fixing. Im in the process of making a better skin layout cause the one i currently have was made kind of in a hurry.

    Tomm when I get on my own laptop I will post up a screen shot of what i mean just incase i wrote this a little confusing. Thanks again!

  • #2
    I was working on an HVAC skin a while ago and to indicate the fan speed what I did was use the multi-image option for the indicator and then the button would set the variable. If you have the the button set the variable to 1 for the low fan speed then then have the multi-image monitor that variable and then control your outputs with logic statements that run off the same variable.

    Comment


    • #3
      Are your indicators multi-images?

      Which code are you referring to that shows the brain is on and connected?
      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

      Comment


      • #4
        Im not sure what multi-images are but im pretty sure my indicators are not multi-images.

        Here is Is what my code looks like right now

        RoadRunner Skin
        RRScreen CLIMATE3_OFF.jpg
        CLIMATE_OFF.jpg,CLIMATE_OFF.jpg,CLIMATE_ON.jpg,CLI MATE_ON.jpg

        I - S. Full,562,414,20,20,"DIGITALOUT4STATUS"

        I - S. High,562,350,20,20,"DIGITALOUT3STATUS"

        I - S. Med,562,278,20,20,"DIGITALOUT2STATUS"

        I - S. Low,562,210,20,20,"DIGITALOUT1STATUS"

        B - S. Full,550,401,248,53,"DIGITALOUT4TOGGLE",

        B - S. High,550,334,248,52,"DIGITALOUT11TOGGLE",

        B - S. Med,549,265,248,52,"DIGITALOUT2TOGGLE",

        B - S. Low,550,196,248,52,"DIGITALOUT1TOGGLE",

        B - Next,361,513,175,83,"NEXT",

        B - Previous,132,513,176,82,"PREV",

        B - GPS,21,41,82,85,"GPS","GPS"

        B - Library,21,129,82,82,"LIST",

        B - Vol Up,19,213,82,88,"Vol+",

        B - Vol Down,19,299,84,86,"VOL-",

        B - Vol Mute,19,386,84,84,"MUTE",

        B - EXIT,17,472,83,83,"EXIT",

        L - Date,147,182,138,28,212,208,200,18,"Arial Narrow:B","DATE",,147,

        L - Time,146,130,185,45,212,208,200,30,"Arial Narrow:B","TIME",

        L - F.Brain,564,95,216,34,212,208,200,12,"Arial Narrow:B",B","BYIND;FBCONNECTED;= <<=Brain Active","RIGHT",,564,,,

        L - Track Name,151,256,371,44,212,208,200,40,"Arial Narrow:B","TRACKNAME",,151,,

        END

        The codes I was refering to was the

        "DIGITALOUT#STATUS" for the indicators

        and

        "BYIND;FBCONNECTED;= <<=Brain Active" That should show that the brain is connected right??

        This is the skin that I made,



        Comment


        • #5
          Originally posted by djurchicprelude View Post
          Im not sure what multi-images are but im pretty sure my indicators are not multi-images.

          Here is Is what my code looks like right now




          The codes I was refering to was the

          "DIGITALOUT#STATUS" for the indicators

          and

          "BYIND;FBCONNECTED;= <<=Brain Active" That should show that the brain is connected right??

          This is the skin that I made,




          From the looks of it, you are using Sonic's "RRFusion" which is not software we support or made, that is for Sonic. I will PM him to see if he can help out, I am not sure of the syntax of his program.
          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

          Comment


          • #6
            its indeed RRFusion commands and indicators but thats not RR .skin file format. Is that the code from the actual .skin file? If so i'm surprised even the buttons work. When did you download RRfusion? what version of Roadrunner are you using? Indicators wont work with a version older than octobers release.
            mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
            Follow Me on Twitter or Facebook
            Live mp3Car Facebook Chat

            Comment

            Working...
            X