modifica file .bas

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • saveriuccio
    Member
    • Dec 2017
    • 16
    • italia

    #1

    modifica file .bas

    Hello everyone
    who gives me a hand to edit a .bas file
    I'm not a programmer, I only understand electronics
    and a file that loads in a pic to make a led flash
    the led after flashing quickly stops and alternates from green to red.
    I wish it would always blink green
    sorry for the translation I use google.
    thank you all
    Attached Files
  • stj
    Great Sage 齊天大聖
    • Dec 2009
    • 30964
    • Albion

    #2
    Re: modifica file .bas

    if pinB.6=0 then
    high led_Verde
    low led_rosso
    high GPIO
    else
    low led_Verde
    high led_rosso
    low GPIO
    end if
    try changing to: "high led_rosso" in both places
    if the red stays on instead of off then use "low led_rosso"

    Comment

    • saveriuccio
      Member
      • Dec 2017
      • 16
      • italia

      #3
      Re: modifica file .bas

      thank you
      i put low red led now it flashes. I just have to shorten the blinking from 5 seconds to 3

      Comment

      • stj
        Great Sage 齊天大聖
        • Dec 2009
        • 30964
        • Albion

        #4
        Re: modifica file .bas

        look at the "pause" lines, the value afterward is the delay - reduce the number and see how it looks

        Comment

        Related Topics

        Collapse

        Working...