Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Recent content by bcz

  1. B

    If_Then_Else_Endif

    I spoke too soon. Even though PORTB.1 = 1, the Else branch is being executed. The purpose of the jumper (on RB0) is to select PWR-Meter or Voltmeter function. With RB1 = 1 the program should not go into the Else branch (Voltmeter).
  2. B

    If_Then_Else_Endif

    Thank you GogFlur66, it's a great help. I will continue with your version (in #2) of the code.
  3. B

    If_Then_Else_Endif

    The source code (Voltmeter.bas) is for a PIC18F2550 MCU. Triss - Do you mean TRISA, TRISB, etc.? I am an "amateur" programmer and I do know that many peaple say, that any BASIC dialect and especially using "Goto" is a so called "Spaghetti Code". For tens of years I have not used any BASIC...
  4. B

    If_Then_Else_Endif

    I want to control the program execution depending on a jumper setting in the hardware. The program Voltmeter should execute only for RB0 = 0 What is wrong here? --------------------------------------------------------------- PORTB.0 = 1 'Simulating Jumper Pin RB0 = 1 If...
  5. B

    Hex file size depending on programmer software for PICkit 3

    I checked again and compared the files read from the same PIC with the same hex content. - Image1.png shows the file that has been programmed into the PIC (red) and the two files read with US-Burn and PICkitminus respectively. - Image2.png shows the file comparison PIC content vs read from the PIC.
  6. B

    Hex file size depending on programmer software for PICkit 3

    Thank you for the explanations. - I want to remeber in the future. As an addendum, please look at the screenshot take from the end of file.
  7. B

    Hex file size depending on programmer software for PICkit 3

    I don't quite understand the question: "Is the chip erased before download?" Dowwnload what? Do you mean "Write"? I always "Erase" and "Blank Check" the chip before I "Write" to it. The large hex file is a "Read"-back of the compact hex file created with the compiler. I am attaching a screenshot...
  8. B

    Hex file size depending on programmer software for PICkit 3

    I programmed a PIC18F2550 on "PICkit 3" using an older software called "US-Burn" (see screenshot) and "PICkitminus" respectively. Please find attached the source file and the two hex files. PICkit minus produces a far larger hex file. Disabling eememory reduces the file size only slightly. -...
  9. B

    USB PIC Programmer with 40 pin Zip socket

    I returned the "Kit2 Kit3 PICkit3 PIC Debugger Programmer Emulator PIC Controller 1" to eBay. On Feb. 7th I ordered a "Comimark 1Pcs PIC ICD2 PICKit 2 PICKIT 3 Programming Adapter Universal Programmer Seat Board" at Amazon. The item has arrived today (Feb. 10th), I just had to place the...
  10. B

    Moving from mikroBasic to OshonSoft Basic

    I installed v5.76 and after correcting line 68, compilation did work ok. Gee, what a stupid little mistake that was with the blank before the bracket! Thanks everybody for your help.
  11. B

    Moving from mikroBasic to OshonSoft Basic

    Can I install v5.76 over v5.72, or would I have to uninstall the present version first?
  12. B

    Moving from mikroBasic to OshonSoft Basic

    Hello DogFlu66, My version is 5.72, and I want to update to the latest (v5.76). Do I have to uninstall the present version prior to installing the new one? I can't remember, is there a download page for registered users or would I have to install the time limitted version (exe file)? I do have...
  13. B

    Moving from mikroBasic to OshonSoft Basic

    I just wanted to check if the summing up (10-times loop) works correctly. What is wrong with this?
  14. B

    Moving from mikroBasic to OshonSoft Basic

    Ian Rogers wrote: "read in 4 readings 513, 511,512,510.. then and add together = 2046 then back to 10 bits 511" Isn't 511 = %111111111, i.e. 9 bits?
  15. B

    Moving from mikroBasic to OshonSoft Basic

    Sorry, I meant to say "I want to eliminate the 0.1 dBm variation" in my previous message.

Latest threads

New Articles From Microcontroller Tips

Back
Top