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 dr_when

  1. dr_when

    Pic simulator IDE BASIC compiler error

    DogFlu66 Thanks! I don't know how I missed that!
  2. dr_when

    Pic simulator IDE BASIC compiler error

    On another note, does anyone know of a way to easily comment out multiple lines of code in the Basic compiler? I usually end up just cutting out code that I temporarily want to block and paste it in another editor. I am used to C with */ multiple comments blah blah blah */
  3. dr_when

    Pic simulator IDE BASIC compiler error

    sagor1 ...from the data sheet INTERNAL 4 MHz OSCILLATOR When calibrated, the internal oscillator provides a fixed 4 MHz (nominal) system clock. See Electrical Specifications. Section 12.0. for information on variation over voltage and temperature. Two options are available for this Oscillator...
  4. dr_when

    Pic simulator IDE BASIC compiler error

    sagor1... "That all said, your code is incomplete as you do not define the frequency of the oscillator/crystal, so how can the compiler calculate the proper time intervals?" Actually the Oshonsoft BASIC compiler and assembler let you set the proper configuration bits to use the 4mhz internal...
  5. dr_when

    Pic simulator IDE BASIC compiler error

    @Papabravo... do you have anything to offer other than criticism?
  6. dr_when

    Pic simulator IDE BASIC compiler error

    This is a pic 12f675 that has no ports like PORTA, etc. Just GPIO. Also, this is a lower end part that needs OSCCAL. The error is nonsensical because it does eventually finish compiling (after hitting enter 8+ times) but offers no warnings or errors when done.
  7. dr_when

    Pic simulator IDE BASIC compiler error

    I get this nonsensical error when compiling using version 8.65. Have to keep hitting enter to get it to finish. No errors when it is finally done. Internal compiler error! Port related issue. Please send the basic program you tried to compile to OshonSoft. Please use Help\Bug Report Interface...
  8. dr_when

    I2C on Pic 12f675

    Yes, what the Arduino did, threw me for a bit. I have stumbled on this kind of thing before.
  9. dr_when

    I2C on Pic 12f675

    Just an update . The Pcf8574 works fine using any two pins on the 12f675 (except mclr of course) and the size of the code isn't bad either. No optimization, merely parroting the .cpp code in the Arduino for that same backpack. Usable for the project I am working on. I have attached the code for...
  10. dr_when

    I2C on Pic 12f675

    Yes, thank you. It is looking good so far.
  11. dr_when

    I2C on Pic 12f675

    Thanks for the reply. I just needed to look at this table better!!!:cool:
  12. dr_when

    I2C on Pic 12f675

    Hi, New here, but thought I would try after not finding a solution as of yet. I have been using the Oshonsoft Basic Compiler for Pic for a number of years and have always managed to work around problems that I have had. I have gotten frustrated at times with how Vladimir has handled his dev...

Latest threads

New Articles From Microcontroller Tips

Back
Top