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
    • 31139
    • 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
        • 31139
        • 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

        • m1ch43lzm
          Notice to users of XGecu TL866II Plus / T48 / T56 / T76 programmers regarding BIOS backup file size
          by m1ch43lzm
          Hi everyone
          I noticed on the Xgpro software the BIOS backup files have extra bytes at the end when reading some chips, this is because the Xgpro software also reads the OTP region of those flash chips, and by default will append that region to the saved file
          Programmer models: XGecu TL866II Plus / T48 / T56 / T76

          Example: GD25LQ128D (1.8V), IC size is listed as 0x1000000 Bytes (16777216 bytes) + 0xC00 bytes, those extra 0xC00 bytes will be appended to the end of the saved file by default, resulting in a file size of 16780288 bytes
          There's also an extra OTP Secu.R...
          09-06-2025, 05:47 PM
        • Forest79
          Lenovo ThinkStation P520 BIOS file needed
          by Forest79
          Hello,

          I got a Lenovo ThinkStation P520 (Type 30BF) from a friend, asking me for a repair. Windows 11 offered a firmware upgrade as an optional update, and it failed.
          The emergency flash procedure from the hardware manual has also failed. So, I asked an acquaintance with better skills to flash the BIOS directly.

          However, the chip (a Macronix MX25L25673GMI-08G) has a size of 32 MB, and the BIOS file from the Lenovo website (extracted with UEFITool) has a little more than 16 MB. Thus, the software my acquaintance used (SiberiaProg v1.45, with a CH341A Programmer)...
          07-23-2023, 07:39 AM
        • jimjoe123
          LCD TV Green/Pink screen problem
          by jimjoe123
          I have a Dick Smith 37" LCD TV, Model GE6804. I am using it as PC extended monitor only.

          Problem is while watching tv, I hear a semi loud click(like a electrical breaker tripping due to overload, just sound like it but no actual electrical overload), then screen is covered with green or pink. I can still see the original picture image but overlayed by green or pink. See attached images. Pink.jpg is what I see, and Normal.jpg is before green or pink screen, What I captured was pink screen, but about 80% of time it's green and 20% of time it's pink.

          Then each time...
          02-23-2020, 01:29 AM
        • Document Archive
          HP EliteDesk 800 G3 + ProDisplay P240va + Seagate Game Drive for Xbox 2TB Green EliteDesk 800 i5-7500 Specification for Upgrade or Repair
          by Document Archive
          This specification for the HP EliteDesk 800 G3 + ProDisplay P240va + Seagate Game Drive for Xbox 2TB Green can be useful for upgrading or repairing a desktop PC that is not working. As a community we are working through our specifications to add valuable data like the EliteDesk 800 G3 + ProDisplay P240va + Seagate Game Drive for Xbox 2TB Green boardview and EliteDesk 800 G3 + ProDisplay P240va + Seagate Game Drive for Xbox 2TB Green schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively...
          09-12-2024, 02:00 PM
        • Document Archive
          Acer Aspire Acer Aspire Vero Green PC AV15-51 15.6 inch Laptop - (Intel Core i7-1195G7, 16GB, 1TB SSD, Full HD Display, Windows 11, Grey, 30% PCR Chassis) Notebook Vero Specification for Upgrade or Repair
          by Document Archive
          This specification for the Acer Aspire Acer Aspire Vero Green PC AV15-51 15.6 inch Laptop - (Intel Core i7-1195G7, 16GB, 1TB SSD, Full HD Display, Windows 11, Grey, 30% PCR Chassis) Notebook can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the Acer Aspire Vero Green PC AV15-51 15.6 inch Laptop - (Intel Core i7-1195G7, 16GB, 1TB SSD, Full HD Display, Windows 11, Grey, 30% PCR Chassis) boardview and Acer Aspire Vero Green PC AV15-51 15.6 inch Laptop - (Intel Core i7-1195G7, 16GB, 1TB SSD, Full...
          09-07-2024, 03:10 AM
        • Loading...
        • No more items.
        Working...