Search Results - Proton BASIC community web site


Search:

Type: Posts; User: top204

Page 1 of 5 1 2 3 4

Search: Search took 0.08 seconds.

  1. top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.3.3 - Proton24

    top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.3.3 - Proton24 1.0.6.6!

    Corrections and Additions made in version 3.7.3.3 of Proton and version 1.0.6.6 of Proton24

    Proton...
  2. Replies
    11
    Views
    271

    Re: It's Christmas, how about a bit of giving?

    I cannot thank you all enough. Words don't cover how I feel for my friends here on the forum.

    Since my injury, life has changed beyond my worst expectations, but it's times like this that give me...
  3. Replies
    5
    Views
    234

    Re: TFT for dsPIC33FJ256GP710A

    Unfortunately, I am now unable to afford to give my time away, but my daily rate is very good and if you want, I will get that board up and running in a couple of days for you, with libraries and...
  4. Replies
    14
    Views
    268

    Re: Amicus 24 schematic?

    Because of the size of the PCB, the device is a tiny SSOP type. I was going to use the UQFN type package, and I created the original design for that type, but Microchip have made the heatsink pad on...
  5. Re: Symbol not previously defined - Another assemble error

    You are using a compiler version that is quite old. Try the latest version.
  6. Replies
    5
    Views
    234

    Re: TFT for dsPIC33FJ256GP710A

    The TFT appears to be a standard ILI9341 type with a resistive touch membrane.

    Looking at the circuit, the resistive membrane is going to the dsPIC's ADC channels for the X/Y touch position.
    ...
  7. Replies
    14
    Views
    268

    Re: Amicus 24 schematic?

    You cannot buy the microcontroller for 2

    The Chinese have ripped off the Atmel devices for many, many years so with Microchip now running the ship of Atmel devices, they may put a stop to it,...
  8. Replies
    14
    Views
    268

    Re: Amicus 24 schematic?

    I never released the Amicus24 board. The circuit is from a prototype that I had 2 boards made for testing.

    There were some issues with the circuit that I was going to change for the final Amicus24...
  9. Replies
    15
    Views
    348

    Re: 3.7.3.1 download will not unzip

    The compiler is written on a Windows 10 64-bit machine and it is fully operational on Windows XP, Windows 7, the dreadful Windows 8, and, the not so bad, Windows 10. 32-bit and 64 bit platforms.
    ...
  10. Replies
    14
    Views
    565

    18F26K40 and 18F27K40 Config Fuse settings for internal and external oscillator

    For the fuses, take a lookin teh device's PPI file. They are at the end of it, and all the available fuese are also listed.

    The fuse setting can depend on how the device is being used, for...
  11. Re: Changes after latest version of the compiler

    I agree that the compiler's internal stack variables PBS_xxx should not be used too much, but as John said, when you are working low level, they are a must to save otherwise they can be overwritten,...
  12. Re: Changes after latest version of the compiler

    The PBP_xxx compiler system variables have had a name change to PBS_xxx since version 3.7.x.x
  13. Replies
    10
    Views
    294

    Re: 18F25K20 osc / clock odd frequency

    Unfortunately that is my fault. :-( I enabled PLL by default for the 18F25K20 because it was the microcontroller used in the Amicus18 and I wanted to make it much easier for the Amicus18 user, but...
  14. Replies
    14
    Views
    565

    Re: DS3231 Alarm settings anybody

    The new 18FxxK40 devices are actually quite nice, and because they are new, they are quite a lot cheaper at the moment.

    The 18FxxK40 devices have PPS, and INT0, INT1 and INT2 need their chosen...
  15. Thread: FN-M16P wow's

    by top204
    Replies
    2
    Views
    250

    Re: FN-M16P wow's

    Nice one Dave!

    The problem with virtually all of the boards from China, and most other places, is that they all use the manufacturer's design firmware and do no investigations or write code...
  16. [SOLVED !] Proton MCP3422 ADC reader. For V+ and V- Voltage readings

    To display the Voltage from the MCP3422 ADC, the changes in the Main routine are shown below:



    Main:
    Symbol cQuanta = 2.5 / 131072.0 ' Create the quantasisation value...
  17. [SOLVED !] Proton MCP3422 ADC reader. For V+ and V- readings

    As usual, Microchip have also screwed this ADC a bit as well. It is signed 18-bit, which actually means it has a resolution of 17-bits and its output value is not 2's complement. It just means bit-17...
  18. Replies
    3
    Views
    300

    Re: Proton compiler 3.7.3.1 file IDP.ALEXA.51

    All the compiler's executables are scanned with 2 seperate virus scanners before they are made into an installer and then I upload it to my google drive and it performs scans on it before it allows...
  19. Replies
    14
    Views
    565

    Re: DS3231 Alarm settings anybody

    If I had a bit of time, or a DS devies I would take a look at the library for it.

    But be very careful with the Arduno crap out there. :-) I looked at one article from a user and they actually had...
  20. Re: Question about Hbusin / Hbusout on PIC16F15313

    General updates and anomaly corrections to the compiler are free, and the compiler rightfully stated in an error message that that device was not supported with the Hbus commands for the reason it...
  21. Replies
    14
    Views
    565

    Re: DS3231 Alarm settings anybody

    Once you have it operating you can change your subroutines for manipulating BCD to procedures using these:



    '---------------------------------------------------------------
    ' Decimal to BCD...
  22. Replies
    10
    Views
    290

    Re: Need some help from a VB expert

    It's not the fan or the cooling system on the PC, it is the CPU starting to die, or the motherboard has a problem and is causing the CPU to overheat. The OS is also crashing intermittently because...
  23. Thread: Rc-522

    by top204
    Replies
    2
    Views
    140

    Re: Rc-522

    Looking at the datasheet, pin 1 of the MFRC522 chip selects an I2C interface, but it is not brought to the outside world on the PCB. USART and SPI are on seperate pins, but the USART is not brought...
  24. Replies
    10
    Views
    290

    Re: Need some help from a VB expert

    Sorry for the delay in replying John, but my PC is now only lasting a few hours before overheating and dying on me, so I'm busy saving up for one.

    The 8-bit Proton compiler sets the PPS...
  25. Replies
    3
    Views
    382

    Re: PIC24FJ64GA306 Anomaly in USART 4

    I've examined the library code for USART4 with the PIC24FJ128GA306 and it is followiing the correct rules and using the correct SFRs etc... Matching the asm code on USART3 to USART4, they do exactly...
  26. Replies
    10
    Views
    290

    Re: Need some help from a VB expert

    I could'nt find the source for that tool John. Where did you find it?

    Visual BASIC is, IMO, a dreadful language because it is so bloated and they extended it so much it became virtually unreadable...
  27. Replies
    7
    Views
    794

    Re: Support for 18LF26K22 and 18LF45K22

    As has been mentioned, use the F device if the LF device is not in the compiler's PPI files.

    There is no difference in the device mechanisms, except the LF types have a different power rating....
  28. Replies
    19
    Views
    962

    Re: PPS for 8bit Microchip Micocontrollers

    It would be an excellent tool for the Proton compiler Evan, and I thank you for your detailed info concerning it.

    The code produced would be great inside a Proc-EndProc and the hex values using...
  29. Re: Question about Hbusin / Hbusout on PIC16F15313

    Microchip are notorious for changing the way peripherals work and teh SFRs used, so the compiler's hardware I2C routines only work with a specific pattern to the peripherals.

    When I originally...
  30. Replies
    7
    Views
    536

    Re: 1 Wire write - bit mode , no reset

    Many thanks for your detailed analysis of the problem RSteve.

    I'm inside the compiler now and looking for the section that has altered so I can correct it for the next update.

    I've also...
  31. Replies
    45
    Views
    923

    Proton PC PWM library for devices 18F1230, 18F1330, 18F2331, 18F2431, 18F4331, 18F443

    I've created a library for some of the 18F devices that have the Power Control PWM peripheral:

    Power Control PWM Peripheral Library

    The devices supported are: 18F1230, 18F1330, 18F2331,...
  32. Re: Phase offseting PWM to prevent noise on fans

    If it is the phase of the PWM waves that need altering, there are some devices with motor control PWM peripherals that should do the trick. Also some devies that allow diferent timers for the...
  33. Replies
    3
    Views
    382

    Re: Purchase and support

    The ebay sale was dropped last year, so it should not be on there now.

    I was desperately trying to get some form of return from the work I do on the compiler. The Proton compilers are actually...
  34. Re: Phase offseting PWM to prevent noise on fans

    What frequency are the motors being used at from the PWM Tim?

    If it is low enough, a very simple interrupt can create the PWM signal and as each pin is toggled in sequence within the interrupt, it...
  35. Replies
    25
    Views
    5,384

    Re: 18F14K50 Very simple input problem

    The 18F14K50 devices are actually nice units and I've never had any problems with them over the years.

    The compiler now sets pins to digital before the user's program starts so the All_Digital...
  36. Replies
    12
    Views
    726

    Re: PPL setting for 18f27k42

    PLL Geoerge, not PPS. :-)

    I've looked at that program and it has a few flaws in it. One of the major flaws is that it uses Microchip XML files and they sometimes change them when they do an update...
  37. Replies
    12
    Views
    726

    Re: Setting PLL on a PIC18F27K42 device with internal oscillator using Proton

    And you are right Charlie.... The Microchip website is absolutely dreadful, which is now typical of the internet unfortunately. :-(
  38. Replies
    12
    Views
    726

    Setting PLL on a PIC18F27K42 device with internal oscillator using Proton

    If using an external crystal just switch on PLL within the config fuses. For the internal oscillator, a few SFRs need to be manipulated, but when they are operating, the newer 18FxxK devices are...
  39. Thread: Bits and pieces

    by top204
    Replies
    2
    Views
    330

    Re: Bits and pieces

    I've always taken pride in the tightness and efficiency of the compiler's assemby it creates, and it is really good to see someone appreciate it. :-)

    The $define's code written in Proton BASIC...
  40. top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.3.1 - Proton24

    top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.3.1 - Proton24 1.0.6.4!

    Corrections and Alteration made in version 3.7.3.1 of Proton

    Proton Corrections
    Corrected the...
  41. Thread: SensorTile.box

    by top204
    Replies
    7
    Views
    136

    Re: SensorTile.box

    That statement for the ESP with an AT interface is obviously written by a very biased nerd!

    The price of the ESP boards is extremely low, but for someone not quite up to scratch with C++ they can...
  42. Replies
    7
    Views
    125

    Re: HD44780 positioning the cursor.

    Not all alphanumeric LCDs follow the same protocols, especially the Chinese rip-off versions of the Hitachi chipset. Also, some look just like an Hitachi chipset but have as slightly different RAM...
  43. Replies
    6
    Views
    141

    Re: Determining VAR lenths

    Take a look at the SizeOf function in the manual.

    Len is for String type variables or character strings or a byte array that terminates with a null because it creates a routine to count the...
  44. Replies
    88
    Views
    470

    Re: Les's ILI9325 Wiki code

    Charlie.

    See this little piece of text I wrote on the forum's Wiki for overclocking the 18FxxKxx devices.

    Overclocking the Amicus18 Board to 100MHz

    I remember I had the 18FxxKxx devices...
  45. Thread: SensorTile.box

    by top204
    Replies
    7
    Views
    136

    Re: SensorTile.box

    The ESP devices do come with either an AT interface, or the code can be written on the Arm 32-bit processor on-board. As is usually the case, the C++ coding of the library files for the Wi-Fi on...
  46. Replies
    88
    Views
    470

    Re: Les's ILI9325 Wiki code

    The touch chip is the ADS7846. I remember using this type because it was inexpensive and whole lot better than the dreadful Microchip types.

    Here's a screenshot of the touch part of the circuit...
  47. Replies
    88
    Views
    470

    Re: Les's ILI9325 Wiki code

    Here's something I created quite a few years ago that used the ILI9325 graphic LCD board. See my stubby little fingers? LOL


    https://www.youtube.com/watch?v=J4ghfgeZYF8

    I created it because...
  48. Replies
    88
    Views
    470

    Re: Les's ILI9325 Wiki code

    What I've found with the ILI type of graphic LCDs is that the only real change to make in teh code is the initialisation mechanism for them. The code I wrote uses the start-up commands and values in...
  49. Replies
    9
    Views
    136

    Re: Reset from the software

    I'll add a Reset command in teh compiler to do the same as the Reset mnemonic, but on standard 14-bit core devies as well. HOwever, all it will do is the same as the Reset mnemonic and jump to...
  50. Thread: SensorTile.box

    by top204
    Replies
    7
    Views
    136

    Re: SensorTile.box

    In my opinion, the better IOT device is the ESP8266 or the ESP32. They are extremely inexpensive, have on-board Wi-Fi, and can be wrieen using the free GCC compiler. They also have a dedicated IDE,...
  51. Replies
    9
    Views
    136

    Re: Reset from the software

    If you are using an 18F device or an enhanced 14-bit core device, you can use the Reset mnemonic direct from the BASIC listing.

    See the device's datasheet for its explanation, but it essentially...
  52. Replies
    45
    Views
    923

    Re: PIC 18F1330 HPWM problem

    Please remember, the device's PPI file is what the compiler supports, not what the device actually contains. The SFRs and other info contained in the PPI file are so that the compiler can enable the...
  53. Replies
    3
    Views
    95

    Re: Wishes for Procedures

    You are very welcome Alberto.

    The directives are Asm directives, so the BASIC program has no knowledge of them. They are all constant values, so they could be copy and pasted into a BASIC program...
  54. Replies
    20
    Views
    492

    Re: Playing with Procedures

    The big problem with Arduino is that 99% of the users want everything for nothing, and with the Chinese imports, that is nearly the way of things. I was working on an AVR version of Proton, but...
  55. Replies
    3
    Views
    95

    Re: Wishes for Procedures

    Hello Alberto

    A lot of that information is in teh device's .def file and the $defines in there can be used in a BASIC program. For example, a PIC18F26K40 has:


    ' Device Information
    $define...
  56. top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.9 - Proton24

    top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.9 - Proton24 1.0.6.4!

    Correction and Addition made in version 3.7.2.9 of Proton

    Proton Correction
    Corrected a variable...
  57. Replies
    20
    Views
    492

    Re: Playing with Procedures

    You are correct Tim, Dave's compilers are very good. I actually wrote the backend code generator for Swordfish for him, but the later Raptor compiler uses Microchip C compilers as the backend code...
  58. Replies
    20
    Views
    492

    Re: Playing with Procedures

    I was just looking at your excellent PRTOS for the 8-bit devices the other day and wondering if I can find the time to make it procedural.

    Also John, can you add the word "Global" to the Studio...
  59. Replies
    20
    Views
    492

    Re: Playing with Procedures

    As usual Alberto, excellent code and a creative mind.

    The problem with using local variables that are created globally outside of a procedure is that if 2, or more, procedures are using the...
  60. Replies
    24
    Views
    278

    Re: New Prusa mini 3D printer

    Never fully trust the reviews on the internet!

    They are paid for by the companies and can be extremely biased. Because people believe in reviews, it is good practice now to manipulate them and,...
  61. Replies
    10
    Views
    108

    Re: Serin baud rate / clock dependency?

    With such a low Baud rate, the internal oscillator is fine.

    The internal oscillator on the newer devices are excellent, and as long as the microcontroller is not going into weather or temperature...
  62. Replies
    9
    Views
    151

    [SOLVED !] Re: Problem with 3.7.2.8 and 18F25K50

    I've just ran some tests on the procedure and it returns 49 when the VDD is 5 Volts, because it is actually 49.933333333333333

    Which is a tenth of the voltage, not 4 or 5. I ran the code in...
  63. Thread: SMS Number Save

    by top204
    Replies
    19
    Views
    500

    Re: SMS Number Save

    Without seeing the variable types used for the code snippets I can give no real answers.

    However, if you are using String variables, there is no need for the Str or StrN functions. These were...
  64. Replies
    8
    Views
    56

    Re: %00110011

    The issue happens when the thread is edited.

    If the binary is placed and the thread is saved, then it generally does not happen, but as soon as an edit happens, the % and the 2 digits following it...
  65. Replies
    6
    Views
    60

    Re: Trying a procedure, but errors I found

    On a side note... You also have to remember that I added procedures to the Proton compiler only 2 years after having a brain haemorrhage and I did it to try to reassure myself that I still had it in...
  66. Replies
    9
    Views
    151

    [SOLVED !] Re: Problem with 3.7.2.8 and 18F25K50

    Can you write the code again in the thread, but change the binary values to hex values please George. The forum has had a problem with the binary notation for many years.

    Can you write a small...
  67. Replies
    6
    Views
    60

    Re: Trying a procedure, but errors I found

    As I said... The creation of the procedures in the already flat language took a mechansim that is not in any books. That is because the procedures are an option and not mandatory as with other...
  68. Replies
    6
    Views
    60

    Re: Trying a procedure, but errors I found

    In the latest version of the compiler, procedures cannot be continued on a second line because of teh way they have had to be implemented in a flat language, but it is something I'm looking into.
    ...
  69. Replies
    10
    Views
    108

    Re: Serin baud rate / clock dependency?

    The compiler now calculates the Baud rate for you wth the USART commands if you just add the Declare Hserialx_Baud. If you open the Asm window, you can also see the Baud used and the percentage of...
  70. Thread: ch376

    by top204
    Replies
    14
    Views
    482

    Re: ch376

    I'm ever so sorry Dompie. I totally forgot about the CH376. I can't even remember if it arrived. Since my injury I have some problems with memory, so I write things down now on PostIts, and my desk...
  71. Re: Bug in Proton compiler 3.7.8.2 Not working for pic18f2550

    With such low level operations such as Low and High etc, the compiler can never be at fault because it creates a few mnemonics that alter SFRs.

    I've just tried the code:



    Device =...
  72. Re: MSSP module, propose for the Hshin/Hshout

    The procedure mechanism of the compiler is extremely easy to operate and understand?
    It means users can create libraries of commands that can be used by other users and will be very specific for a...
  73. top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.8 - Proton24

    top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.8 - Proton24 1.0.6.4!

    Corrections and Alteration made in version 3.7.2.8 of Proton

    Proton Corrections
    Made further...
  74. top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.8 - Proton24

    top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.8 - Proton24 1.0.6.4!

    Corrections and Alteration made in version 3.7.2.8 of Proton

    Proton Corrections
    Made further...
  75. Re: MSSP module, propose for the Hshin/Hshout

    The addition of Procedures has removed any requirement for new commands, especially commands that use a microcontroller's peripheral. All that is required is a library to be created for a particular...
  76. Replies
    8
    Views
    153

    Re: Pic18f25k20 + module i2c (pcf8574)

    One of our excellent code creators Alberto wrote a library for the PCF8574 on the Wiki a few years ago:

    Port expansion using the PCF8574A

    This should help.

    I also noticed you are setting up...
  77. Replies
    11
    Views
    131

    Re: serious problem with 4 bytes float

    All the info required is within the Procedure code, but here's a piec of code that will do the same inline an no extra RAM used:



    Dim MyFloat As Float = 1234

    Swap MyFloat.Byte3,...
  78. Re: Assember Error 113 when compiling Scroll_demo.bas ILI9320

    Open file "ILI9320.inc" and go down to Line 1386.

    You will see the line of code: #ifdef Print#Req

    Replace this with: #IfSym __SysCom_GLCD_Print_Req_

    Then move down to line 1451 and replace...
  79. Replies
    11
    Views
    131

    Re: serious problem with 4 bytes float

    As George stated, simply use the Rol and Ror commands on teh variable itself to move it into the correct format for IEEE. However, with a standard 14-bit core device, you should not be using floating...
  80. Replies
    1
    Views
    52

    Re: TFT Display 4D VERY Neat !!

    Not for approx 20.00. 4D systems have always been far too expensive, and they drop units they sell without warnings, so they cannot be used reliably in commercial products.

    The TFT used on it is...
  81. top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.7 - Proton24

    top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.7 - Proton24 1.0.6.4!

    Corrections made in version 3.7.2.7 of Proton

    Proton Corrections
    Corrected passing a character...
  82. Re: HAVING ISSUE WITH PROC USAGE project is high speed serial backpac

    A colon is not supported after a Case. That is C syntax.

    The code used if the Case is true is held on the next lines.

    I'll add this to the compiler's manual.
  83. Re: HAVING ISSUE WITH PROC USAGE project is high speed serial backpac

    I've located an issue with enhanced 14-bit core devices when a parameter is a string and the item passed to it is a character string.

    However, it was not an anomaly with my code, but an anomaly...
  84. Replies
    88
    Views
    470

    Re: Les's ILI9325 Wiki code

    Here's a program I wrote quite a few years ago to convert a BMP file to RGB565 in a Cdata table.

    BMP to RGB565 Converter

    Hopefully, you will find it useful.
  85. top204 has just uploaded BMP to RGB565 Converter for use with the Proton Compiler!

    top204 has just uploaded BMP to RGB565 Converter for use with the Proton Compiler!

    Here's a BMP to RGB565 Converter for use with the Proton Compiler.
  86. Replies
    11
    Views
    131

    Re: serious problem with 4 bytes float

    As George stated, page 21 of the compiler's manual shows how to convert from the Microchip format to the IEEE754 format using a few rotates.

    However, it can be done with a procedure to do the...
  87. Replies
    4
    Views
    210

    Re: PWM Timer Source

    I've just downloaded the PIC16F15313 datasheet, and it does state that it can use different timers for PWM or CCP, however it cannot! So the datasheet is wrong, which does not surprise me with...
  88. Replies
    6
    Views
    61

    Re: Relational Operators

    There have been no comparison changes in recent compiler versions since signed variables were introduced a few years ago.

    Without a code snippet showing an issue an answer cannot be given. Code...
  89. Replies
    16
    Views
    134

    Re: The Proton manual

    The BetaMax system was a better quality recorder, however, their lacing mechanism was an utter nightmare, which I think was also one of the reasons it did not become as popular as the VHS. I remember...
  90. Replies
    16
    Views
    134

    Re: The Proton manual

    The problem I have always had is not actually acknowledging the creativity and knowledge I have. I know it sounds like blowing my own trumpet LOL, but it is something that friends have told me since...
  91. Replies
    5
    Views
    836

    Re: Newbie to the forum!

    As John stated, welcome back Ivan.

    The compiler has had a full overhaul in recent versions and procedures are a big and very helpful addition the compiler. I'm currently looking at the new...
  92. Replies
    13
    Views
    256

    Re: SD File System revisited

    Many thanks for your code Alberto.

    I've gotten back into a FAT16 and FAT32 file system on the 8-bit devices the same as the ones I wrote for the PIC24 devices a few years ago. I have the reads...
  93. Replies
    16
    Views
    134

    Re: The Proton manual

    Many thanks George

    Words such as yours give me new incentives to add and improve the compilers. But I do wish they brought some money in. :-( Maybe I can use them indirectly with some products?...
  94. Replies
    16
    Views
    134

    Re: The Proton manual

    Sorry people, it is not intentional. I started using the Open Office PDF creator instead of the stupidly priced Adobe PDF creator, and I must have missed something in it.

    The next manual will have...
  95. Replies
    7
    Views
    61

    Re: HSerial_ChangeBaud question

    Examining the code produced by Hserial_ChangeBaud for a PIC16F648A running at 20MHz, everything looks fine. For example:

    The command; Hserial_ChangeBaud 2400, produces the asm code:

    movlw 8...
  96. Replies
    8
    Views
    72

    Re: Strange compile for a 16F628A

    I've always prided myself on being a man of my word, so download the version 3.7.2.6 of Proton and it does not save/restore the EECON SFRs with standard 14-bit core devices if Cread, Lread or Cread X...
  97. top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.6 - Proton24

    top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.6 - Proton24 1.0.6.4!

    Corrections made in version 3.7.2.6 of Proton.

    Proton Corrections
    Corrected USART4 routine in the...
  98. Replies
    8
    Views
    72

    Re: Strange compile for a 16F628A

    Actually looking at the code more thoroughly, the compiler is saving and restoring some SFRs that it does not need too with standard 14-bit core devies, so I'll make the changes in the compiler and...
  99. Replies
    2
    Views
    52

    Re: Nesting Select / Case

    The compiler does not use a stack for any of its loops or comparisons etc, so nesting can be a deep as the microcontroller itself will allow. i.e. RAM size and code size etc... This makes looping and...
  100. Replies
    8
    Views
    72

    Re: Strange compile for a 16F628A

    The context Save and Restore are saving the SFRs used in reading flash memory.

    The interrupt handler is using the Lread command which reads flash memory and uses several SFRs to do so, therefore...
  101. Replies
    8
    Views
    72

    Re: Strange compile for a 16F628A

    Context Save and Restore will not save or restore internal eeprom data itself, however, if any of the eeprom commands are used within the interrupt, it will save the relevant SFRs used for reading...
  102. Wow!!!! 1991 guests at the moment on the forum

    I've just looked, and at this current time, there are 1991 guests on the forum according to the bottom of the forum's counter value, and it is increasing!

    This has to be either a mistake, or an...
  103. Re: johngb has just uploaded Proton Studio Update 1.0.2.10!

    Your IDE just gets better and better. Many thanks John.
  104. Re: johngb has just uploaded Proton Studio Update 1.0.2.10!

    Oooops. Sorry John.

    I didn't realise what Tools was for in the toolbar. I though it might have been your plugins etc...

    Again, an excellent IDE and many thanks.
  105. Re: johngb has just uploaded Proton Studio Update 1.0.2.10!

    Many thanks John.

    The Find and replace windows are now excellent. This was one of the things that stopped me using the previous versions fully.

    Can you add a dektop shortcut in your installer...
  106. Replies
    88
    Views
    470

    Re: Les's ILI9325 Wiki code

    John.. The best way to get a graphic LCD is to buy one already placed on a PCB. OK, most are for the dreadful Arduino shape, but sometimes they are more universal. i.e. For real world applications....
  107. Replies
    88
    Views
    470

    Re: Les's ILI9325 Wiki code

    The SPI interfaces to LCDs are OK, and work fine. But they are a lot slower, especially with colour graphic LCDs.

    Each pixel on a colour LCD needs 16-bits assigned to it (RGB565), and with SPI...
  108. Replies
    21
    Views
    1,984

    Re: 3x4 alpha numeric keypad

    That is exactly what the Inkey command does. It reads a 3x4 or a 4x4 matrix keypad.

    See the manual's Inkey page and look in the Samples folder for the "Inkey.bas" demo program: C:\Users\user...
  109. top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.5 - Proton24

    top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.5 - Proton24 1.0.6.4!

    Corrections made in version 3.7.2.5 of Proton

    Proton Corrections
    Corrected USART3 and USART4...
  110. Replies
    4
    Views
    51

    Re: Print CLS stopped USB from working

    The Cls command adds a 30mS delay after sending the command to the LCD. This is mandatory for Hitachi LCDs, and each LCD command has to have a small delay after it so the LCD chipset can perform the...
  111. Replies
    11
    Views
    969

    Re: UART and USB Issues with PIC18F97J94

    Thanks for the info Tumbleweed, exactly what I needed. :-)

    I'll get into the compiler's library routines later this afternoon and have an update ASAP to alter the RAM switching for the SFRs that...
  112. Replies
    11
    Views
    969

    Re: UART and USB Issues with PIC18F97J94

    I do not have one of those devies so I cannot do any tests. They are older devices, and I create the PPI files semi-automatically from Microchip device files, however, these are quite often full of...
  113. Re: ASSEMBLER ERRORS. Symbol not previously defined (PP_EEPGD)

    Hello Gamboa

    Update yor compiler to version 3.7.2.4 here:

    Proton Compilers Full Installer - Proton 3.7.2.4 - Proton24 1.0.6.4

    Some of the changes I made in the latest version of Proton are...
  114. Replies
    2
    Views
    37

    Re: Include a include file only once

    Take a look at all the compiler's include file libraries in the user includes directory "C:\Users\User Name\PDS\Includes" and you will see headers in them that stop an include file being used more...
  115. Replies
    11
    Views
    154

    Re: Dspic33Fj128MC706A UART pic18F25K80

    Oops. Sorry Tumbleweed. Having both sets of code in the question confused me. :-(

    Then yes, Tumbleweed is correct! The Str modifier will not send nulls (0). It will terminate at one because it is...
  116. Replies
    11
    Views
    154

    Re: Dspic33Fj128MC706A UART pic18F25K80

    That code is for an 18F device only. The PIC24 and dsPIC devices have an entirely different mnemonic set. :-) The code for the 14-bit core devices is also different to the 18F, and so is the enhanced...
  117. Replies
    11
    Views
    154

    Re: Dspic33Fj128MC706A UART pic18F25K80

    Sorry for the delay in replying, I'm currently working on 2 projects so my mind is constantly at work. :-)

    I see no reason why a 0 would not be accessed, the Str modifier on PIC24 devices does not...
  118. top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.4 - Proton24

    top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.4 - Proton24 1.0.6.4!

    Corrections made in version 3.7.2.4 of Proton

    Corrected Signed Byte to Constant compare that...
  119. Replies
    4
    Views
    38

    Re: Stupid things I dun today

    George. I've killed quite a few multi-meter fuses with first testing current, then not changing the leads over into the voltage/resistance socket and testing Voltage. Pop!!!! and the fuse goes in the...
  120. Replies
    4
    Views
    38

    Re: Stupid things I dun today

    That has just reminded me John.

    I still remember when I first started driving, way back when, I took my very old Renault 14 car to a mechanic friend to get a new set of points fitted and get the...
  121. Replies
    11
    Views
    154

    Re: Dspic33Fj128MC706A UART pic18F25K80

    Comment out the error checking part of the Isr, just to make sure you are not receiving errors all the time and the array will not be filled.

    Also, if the Hrsin2 or Hrsout2 commands are not used...
  122. Replies
    4
    Views
    757

    Re: How to use timers in microcontroller

    Nice one Keytapper.
  123. Replies
    13
    Views
    1,011

    Re: Electronic roulette with PIC microcontroller

    Thanks Charlie.

    They are incredible to watch flashing around at different colours and patterns all from a single pin. :-) Their timings are a bit tight and the WS2812 has slightly different...
  124. Replies
    13
    Views
    1,011

    Re: Electronic roulette with PIC microcontroller

    I'd be interested in seeing your timing code. For a device operating at 32MHz or over, no problems are encountered, but with slower devices, the timings are a bit too tight.

    I was looking into...
  125. Replies
    5
    Views
    51

    Re: 18f4331 LCD Woes

    The compiler's alphanumeric LED Print routines do nothing with the R/W line, so the pin it is connected too must be pulled to ground with a Low command at the setup of the main program.

    If you...
  126. Replies
    13
    Views
    1,011

    Re: Electronic roulette with PIC microcontroller

    With the WS2812B chips, and the other RGB addressable chips, a single LED can be illuminated and all the rest extinguished. Then move the illuminated LED around the strip which is made into a a...
  127. Replies
    13
    Views
    1,011

    Re: Electronic roulette with PIC microcontroller

    I agree the APA102 chips are a lot better to control, and a lot easier and faster to operate because they are SPI. But, at this moment in time, they are also a lot more expensive than WS2812B chips....
  128. Replies
    13
    Views
    1,011

    Re: Electronic roulette with PIC microcontroller

    Personally, I think the most economic and simplest way to produce a roulette with that many LEDs is to use a string of WS2812B RGB LEDs in a circle and create a true random number. Both of these are...
  129. top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.3 - Proton24

    top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.3 - Proton24 1.0.6.4!

    Corrections made in version 3.7.2.3 of Proton and version 1.0.6.4 of Proton24

    Proton Corrections...
  130. Replies
    5
    Views
    51

    Proton PIC18F4331 display on a 4x20 Alphanumeric LCD

    I've just ran a test with a 18F4331 in the simulator and the code below works:



    '
    ' /\\\\\\\\\
    ' /\\\///////\\\
    ' \/\\\ \/\\\ /\\\ ...
  131. Replies
    4
    Views
    68

    Re: Amicus18 CW Win Keyer

    A lovely project Alberto. Many thanks.

    I see by your excellent code, you are a true master of the preprocessor and macros. :-) My hat is off to you.

    When you master procedures, which I know...
  132. Replies
    71
    Views
    3,143

    Re: Temperature Controller Problem

    You cannot drive a multiplexed 7 segment display from the main program because any other commands that have a delay in them will stop the multiplexing and cause blanks etc..

    To multiplex the...
  133. Re: Proton v.3.7.2.1 created file "c:\full_after.bas" after compiled. Why?

    I thought that also John, so I'll add an option to have it created in the BASIC program's directory. For the general compiler user it is of no real use, but it is interesting to see and can be useful...
  134. Re: Proton v.3.7.2.1 created file "c:\full_after.bas" after compiled. Why?

    Whoops.... I forgot to take it out of the final compilation. Sorry.

    It does not harm, it is simply the full BASIC program once include files are added and preprocessor conditions are met and when...
  135. top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.1 - Proton24

    top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.2.1 - Proton24 1.0.6.3!

    Additions and Corrections made in version 3.7.2.1 of Proton and version 1.0.6.3 of Proton24

    Proton...
  136. Replies
    6
    Views
    37

    Re: Happy Birthday Rick

    If I remember correctly, the moon landing happened during the night here in the UK, but when I went to juniors the next day, we watched it on the TV with the teacher. :-)
  137. Replies
    6
    Views
    37

    Happy Birthday Rick

    Many happy returns Rick (rcurl).

    I hope you have a wonderful day. :-)
  138. Re: How to invert just a bit - complement of a bit

    You are correct kuhrig, the complement of a bit that is different to the assignment bit is not working as it should. I have now corrected it and will produce an update to teh compilers.

    It was...
  139. Replies
    15
    Views
    321

    Re: TX/RX with CC1101 Texas

    Comments are allowed on the line of a standard $define, however, a comment apostrophe on its own with no text after it makes the $define add the next line to the definition. See the preprocessor...
  140. Re: How to invert just a bit - complement of a bit

    I'm ever so sorry. I forgot to look that this question was about the Proton24 compiler!

    I'll do some tests and get back to you.
  141. Replies
    3
    Views
    32

    Re: TERN accept no expression(s)

    Unfortunately, this is a Typo in the compiler manuals. :-( For speed, I used a section of text from another command's parameters section and forgot to remove the "Expression" part.

    I'll see what I...
  142. Replies
    9
    Views
    60

    Re: Using procedures, best practices

    A procedure call without parameters is, essentially, a Gosub command underneath. i.e. An asm Call mnemonic. Nothing more, nothing less.

    With parameters, it is still a Gosub command, but variables...
  143. Replies
    71
    Views
    3,143

    Proton Compiler Button Toggle Procedure

    For that type of toggling a similar type of mechanism is used, but it has to have state changes. Here's a demo that illuminates the LED when the button is pressed and released, then extingushes it...
  144. Replies
    71
    Views
    3,143

    Proton Compiler Button Debounce Procedure

    The Button command has an autorepeat mechanism, so it never stays in the same state.

    A much simpler way to check and debounce a button is to take a reading of teh pin, wait a few ms, then check...
  145. Replies
    71
    Views
    3,143

    Proton Compiler Button Command Demo program

    Amod. Please open a new thread for a new question in the future, otherwise questions get missed because they have a header text that people have already read.

    For example, the header for this...
  146. Replies
    71
    Views
    3,143

    Re: Temperature Controller Problem

    I have corrected the small mistake for the Button command for the next compiler update. It was my mistake to not add the system variables for the DelayMs used in the Button command's code, as I...
  147. Re: Unable to change device using prplus.exe command-line

    For the original, and useful, MPLAB, you would be better downloading the last version they did. i.e. Version 8.92. It was very good and useful for simulating etc...

    I have looked at incorporating...
  148. Re: Unable to change device using prplus.exe command-line

    The Coff is created from the .lst file, and the Asm file is produced in full by the compiler. I had no need to use the linker at all for the 8-bit devices.

    So converting the Coff back into asm...
  149. Re: Unable to change device using prplus.exe command-line

    The -p command line was dropped quite a few years ago, ever since the pre-processor was added to the compiler.

    This is because the pre-processor examines the "Device" directive to se which .def...
  150. Re: New dsPIC33CH512MP508 100 MHz Dual-Core 16-bit DSC

    At the moment, IMO, this is one of the experiments by some Microchip nerds to try and add a second core. But..... It does not quite come up to standard, and I will wait for the next generation of...
  151. Replies
    5
    Views
    31

    Re: Correct terminolgy

    The underlying terminology used in most languages is signed and unsigned, then the integer variable type after it. However, all languages have a specific name for them. i.e. __int64, Long, Short,...
  152. Replies
    18
    Views
    83

    Re: procedures How do we buy the upgrade?

    I couldn't agree more. Facebook and especially twitter are not good, but lots of people use them, so I had to place a page on Facebook just to let people know that Proton exists, because the Proton...
  153. Replies
    10
    Views
    51

    Re: I have made some highlight syntax for KATE

    I know this may sound like a silly question, but I've read and read the PDF and it is typical of most documentation where there is too much soft text and screenshots etc... And not a simple "place...
  154. Thread: FineLineIDE

    by top204
    Replies
    162
    Views
    33,957

    Re: FineLineIDE

    Many thanks for you continued work on your excellent IDE Norm. It is most appreciated by me. :-)

    Both the FineLine and Proton Studio IDEs are marvelous pieces of creativity.
  155. top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.1.9 - Proton24

    top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.1.9 - Proton24 1.0.6.1!

    Additions and Corrections made in version 3.7.1.9 of the Proton Compiler

    Proton Additions
    Added...
  156. Replies
    71
    Views
    3,143

    Re: Temperature Controller Problem

    I just wish I had, had the time and incentive to write books for Proton and Proton24 in the past.

    I have a few chapters of "The Proton Experimenters Notebook" that I started a few years ago, but...
  157. Replies
    4
    Views
    102

    Re: LCD display module HT1621

    I've taken a look at the dreadful C code, who's author hasn't heard of comments to help. :-( This is typical of a lot of C sources where the authors seems to be in a constant meglo-maniac mode.
    ...
  158. Re: How to invert just a bit - complement of a bit

    I've just ran so me tests and teh inversion of bits using the complement operator is working OK.

    On an 18F device it uses the Btg mnemonic, with 14-bit core devices it uses an Xor mnemonic if both...
  159. Replies
    71
    Views
    3,143

    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...
  160. Thread: Tris

    by top204
    Replies
    11
    Views
    67

    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...
  161. Replies
    2
    Views
    65

    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...
  162. Replies
    13
    Views
    1,032

    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,...
  163. Replies
    6
    Views
    746

    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...
  164. Replies
    71
    Views
    3,143

    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...
  165. 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...
  166. 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...
  167. 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...
  168. 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...
  169. 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...
  170. Replies
    34
    Views
    2,301

    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...
  171. Thread: dword Aliases

    by top204
    Replies
    4
    Views
    51

    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...
  172. Replies
    12
    Views
    105

    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...
  173. Replies
    71
    Views
    3,143

    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...
  174. Replies
    12
    Views
    105

    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...
  175. Replies
    71
    Views
    3,143

    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...
  176. 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...
  177. Replies
    9
    Views
    57

    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...
  178. Replies
    18
    Views
    85

    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...
  179. Replies
    10
    Views
    58

    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 ...
  180. Thread: ASM Error [108]

    by top204
    Replies
    4
    Views
    37

    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...
  181. Replies
    10
    Views
    58

    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....
  182. Replies
    9
    Views
    57

    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...
  183. Replies
    18
    Views
    85

    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...
  184. Replies
    18
    Views
    85

    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
    ...
  185. Replies
    18
    Views
    85

    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...
  186. 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...
  187. Replies
    9
    Views
    57

    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...
  188. 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...
  189. Thread: Code error

    by top204
    Replies
    2
    Views
    40

    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...
  190. Replies
    10
    Views
    58

    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...
  191. Replies
    2
    Views
    41

    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:


    ...
  192. 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...
  193. Replies
    19
    Views
    88

    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...
  194. Re: Wanted 18F25K22 bootloader for purchase .....

    I know a user of the Amicus18 board created a bootloader for the PIC18F25K22 device, but the Amicus18 web site was closed down. :-( I had all the files once upon a time, but with one thing and...
  195. Replies
    19
    Views
    88

    Re: PicKit4, cosa ne pensate?

    I used the melabs Epic programmer from the start in the late 90s, and when I wrote my book about the PICBASIC Pro compiler in 2000, I created my own hardware, but used the software for the Epic. When...
  196. Replies
    14
    Views
    30

    Re: Toner transfer made easy .....

    Nice board Francis.

    As Bob stated, a really good idea to use the transfer on the component side of the board as well. I'll have to try that one day.
  197. Re: Les & Tim modified version of serial buffer. Error ...(__HRSIN1__)

    It has been modified in the latest versions of the compiler. See the program in: "Samples\New Samples\Buffered_Hrsin"

    And it is in the compiler's Includes folder so it can be used by all programs:...
  198. Thread: While ... Wend

    by top204
    Replies
    6
    Views
    15

    Re: While ... Wend

    The 0 to 127 tells the issue.

    In a signed byte variable (8-bits) 0 to 127 are positive, while 128 to 255 are negative values -128 to -1. Whenever a signed variable is within an expression or...
  199. Replies
    14
    Views
    30

    Re: Toner transfer made easy .....

    You have my congratulations Francis. I had a brain hemorrhage a few years ago and it has effected me a lot, and my life now is sometimes difficult and constantly nightmarish, but we just have to get...
  200. Thread: While ... Wend

    by top204
    Replies
    6
    Views
    15

    Re: While ... Wend

    I need a bit more info on the values held in the variables, because comparing signed and unsigned variables usually leads to trouble because they all use 2s complements for signed variables and...
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4