Search Results - Proton BASIC community web site


Search:

Type: Posts; User: top204

Page 1 of 3 1 2 3

Search: Search took 0.15 seconds.

  1. Replies
    38
    Views
    39

    Re: Temperature Controller Problem

    Here's a demo program I wrote a few days ago to illustrate Peak hold and its decreasing peak for display purposes, as used in power level meters for audio. It may show you how simple Peak hold...
  2. Thread: Tris

    by top204
    Replies
    11
    Views
    12

    Re: Tris

    With Microchip's past record, I woudl also go with the answer of both could happen :-)

    The TRIS SFRs were primarily designed for writes to them and not all peripherals will write to the TRIS...
  3. Replies
    2
    Views
    3

    Re: which W register is save to use

    The general "volatile" WREG is WREG0. This gets used as the main fetch all and load all for library calls and expressions etc....

    Most of the WREG SFRs can be used, except W14 and W15 which are...
  4. Replies
    13
    Views
    14

    Re: random number in Edata

    Therre is another simpler way, but it will require a program written on teh PC that adds a random number to the HEX file before it is programmed.

    Thie could be a PC app that reads the HEX file,...
  5. Replies
    6
    Views
    7

    Re: Proton on Arduino hardware .....

    I designed the Amicus18 board a few years ago, but it came to nothing. :-( The principle of it was also copied by others, and it had a lack of promotions or incentives etc... Go to the back of the...
  6. Replies
    38
    Views
    39

    Re: Temperature Controller Problem

    There already is an example on this thread of using Dig. For the seven segment multiplexing.

    Also, a search on the forum come back with a few threads concerning Dig, and this one is the most...
  7. Proton Compilers Full Installer - Proton 3.7.1.8 - Proton24 1.0.6.0

    The update doesn't seem to be getting re-directed to the forum as it usually does so here it is:

    Proton Compilers Full Installer - Proton 3.7.1.8 - Proton24 1.0.6.0

    Additions and Corrections...
  8. Les has just uploaded Proton Compilers Full Installer - Proton 3.7.1.7 - Proton24 1.0

    Les has just uploaded Proton Compilers Full Installer - Proton 3.7.1.7 - Proton24 1.0.6.0!

    Additions and Corrections made in version 3.7.1.7 of the Proton Compiler.

    Proton Additions
    Added a...
  9. Re: Prescaler divider other than 1:1 causes the PWM module in PIC10F322 to stop worki

    I've just changed the code a little and created a Setup subroutine for the CCP and ADC, and in the Isis simulator it is working at lower frequencies, as I don't have an actual device to test, however...
  10. Re: johngb has just uploaded Proton Studio 1.0.2.2!

    Also, when the file is a .inc type in the IDE, it is giving a message at the bottom "Unable to find xxxxxxx filename.pbe" An include file never has a .pbe file created because it becomes part of...
  11. Re: johngb has just uploaded Proton Studio 1.0.2.2!

    Hello John

    A wonderful IDE and many thanks.

    Can you do me a favour with it please? Can you disable the "Unused Variables warnings" at the end of compile? It is identifying a few mistaken unused...
  12. Replies
    34
    Views
    35

    Re: i need help for 12F1571 pwm

    I must admit, I got the values from the Microchip application note explaning how the Microchip float format worked, and never checked it myself :-( I should have known it would be incorrect, as most...
  13. Thread: dword Aliases

    by top204
    Replies
    4
    Views
    5

    Re: dword Aliases

    I'm ever so sorry for not replying sooner, as my internet has been dreadful for the past week or so and I could not connect with any reliability, if at all most of the time. :-(

    I've looked at the...
  14. Replies
    12
    Views
    13

    Re: clear and interrupt handler - problem?

    Whoops..... You are right John. I thought I had added the assignment loading to the manual a year or so back! I'll take a look in my backups of the manual and see if it was in one that I didn't...
  15. Replies
    38
    Views
    39

    Re: Temperature Controller Problem

    One of the big problems with Microchip is that they can never leave names of important SFRs the same, and change control mechanism of standard SFRs for different families of devices for little or no...
  16. Replies
    12
    Views
    13

    Re: clear and interrupt handler - problem?

    Remember, 8-bit devices and the 16-bit devices are very different when it comes to RAM.

    The 16-bit devices have a RAM based stack set in the user RAM area, and the Clear command will clear ALL...
  17. Replies
    38
    Views
    39

    Re: Temperature Controller Problem

    Here's a program I wrote that uses a PIC16F886 device and a common anode 7-segment x4 display.

    It uses a Timer0 interrupt to drive the seven segment display and the procedure that extracts the...
  18. Les has just uploaded Proton Compilers Full Installer - Proton 3.7.1.6 - Proton24 1.0

    Les has just uploaded Proton Compilers Full Installer - Proton 3.7.1.6 - Proton24 1.0.5.9!

    Correction and Addition made in version 3.7.1.6 of the Proton Compiler.

    Proton Correction
    Corrected...
  19. Replies
    9
    Views
    10

    Re: Bit bang I2C code

    You are welcome....

    How come your text in teh code window lines up? I set my font to Courier New when I write the code and it looks exellent when writing and editing it, but as soon as it is...
  20. Replies
    18
    Views
    19

    Re: Thermistor Steinhart-Hart linearisation procedure for Proton BASIC

    You can try using the internal reference voltage of the ADC and reduce it as close to 1V as possible. This acts as a form of amplifier for the ADC. Then change the cQuanta constant to use the...
  21. Replies
    10
    Views
    11

    Re: Stand alone magnifier

    I use an LED lamp that I got from a car boot sale. It has a flexible neck so it can be moved into position without getting in teh way of teh soldering iron, and is bright enough to make teh board ...
  22. Thread: ASM Error [108]

    by top204
    Replies
    4
    Views
    5

    Re: ASM Error [108]

    A new update will be posted ASAP.

    It was down to you using the Hserial_Parity declare, but not actually using Hrsout or Hrsin or Hserout or Hserin in the program, as I never thought to trap that...
  23. Replies
    10
    Views
    11

    Re: Stand alone magnifier

    As far as I know, the USB was only for charging. LOL It would be great if the video also got sent to a PC, but then you would see blurring when movement happens because USB 2 is actually rather slow....
  24. Replies
    9
    Views
    10

    Re: Bit bang I2C code

    Once you get used to procedures Bob you will find code even easier to write with Proton because they are not mandatory, as in other languages, but a benefit to the standard Proton language and can be...
  25. Replies
    18
    Views
    19

    Thermistor Steinhart-Hart linearisation procedure for Proton BASIC

    You don't need a lookup table with thermistors Tim. Just use a Steinhart-Hart calculation within a procedure.

    The constants required from the thermistor for the Steinhart-Hart can normally be...
  26. Replies
    18
    Views
    19

    Re: Temperature sensing 100-160c

    Thermistors are made to work upto higher temperatures, but they may come at an extra price.

    See:
    http://www.farnell.com/datasheets/28726.pdf

    or
    ...
  27. Replies
    18
    Views
    19

    Re: Temperature sensing 100-160c

    Why not use an infrared temperature measuring device for non contact sensing?

    Some are not very expensive and work up to approx 380 degrees C. They also have the benefit of not having to be...
  28. Les has just uploaded Proton Compilers Full Installer - Proton 3.7.1.5 - Proton24 1.0

    Les has just uploaded Proton Compilers Full Installer - Proton 3.7.1.5 - Proton24 1.0.5.9!

    Additions made in version 3.7.1.5 of the Proton Compiler

    Proton Additions
    Added SDec, SHex and SBin...
  29. Replies
    9
    Views
    10

    Software (Bit-Banged) I2C library for Proton

    Here is a standard I2C library that uses bit-bashing. i.e. Software. It can easily be changed if LSB is required instead of MSB for the I2C interface by changing the bit examined and the bit written...
  30. Re: Code generated by 3.7.0.8 not fitting in 18F24K22

    Come on Dave! You've used the compiler since 2004, so you know I am definately not a one for code bloat in what the compiler produces. It actually produces tighter code that all other compilers, even...
  31. Thread: Code error

    by top204
    Replies
    2
    Views
    3

    Re: Code error

    The Min and Max functions were removed from the compiler many years ago, because they were interfering internally with it, and it was more robust to remove them than to try and tamper too much with...
  32. Replies
    10
    Views
    11

    Re: Stand alone magnifier

    It was one of our forum friends who first talked about them on the forum, so I bought one of them last year and it is excellent.

    I've just looked on ebay and this is the least expensive one direct...
  33. Replies
    2
    Views
    3

    Re: Help with implementing sin

    The Sin function works in Radians, so the value placed into it needs to be converted from degrees to radians. For example, the procedures below will do the trick with triginometry:


    ...
  34. Les has just uploaded Proton Compilers Full Installer - Proton 3.7.1.2 - Proton24 1.0

    Les has just uploaded Proton Compilers Full Installer - Proton 3.7.1.2 - Proton24 1.0.5.8!

    Fix made in version 3.7.1.2 of the Proton Compiler

    Proton Correction
    Corrected passing an Array...
  35. Replies
    19
    Views
    20

    Re: PicKit4, cosa ne pensate?

    Crickey.... My memory!

    I'm so sorry, I forgot I was sent this software for the PICkit2 and PICkit3. I tried it and it is very good. The PICkits still have issues but this new software makes them...
Results 1 to 35 of 100
Page 1 of 3 1 2 3