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. Re: error: too many system variables: 80 available. 84 used.

    An 18F device only has a limited amount of Access (Bankless) RAM) so if the program has too many variables created with the System or Access directive after them, it will create too many Access RAM...
  2. Replies
    20
    Views
    410

    Re: Current transformer AC - DC

    The circuit's actions means the signal has a DC offset, so the middle of the signal is 2.5 Volts, the low is 0 Volts and the high is 5 Volts, so a standard ADC will work perfectly.

    I uses to use a...
  3. Re: 16F18855 - HPWM and some ports with troubles

    Open the device's PPI file in Notepad and change the line:

    HPWM=0xFF ; Amount of PWM channels, 0xFF = Unsuitable for the compiler

    to

    HPWM=5 ; Amount of PWM channels, 0xFF =...
  4. Replies
    20
    Views
    410

    Re: Current transformer AC - DC

    If the AC signal is going to an ADC, just take samples of the ADC and run them through peak detecting code. This will give the highest voltage available as its output, regardless of AC or DC input,...
  5. Replies
    3
    Views
    320

    Re: Can somebody help?

    Try resetting the Timer1 interrupt flag after the code has finished within the interrupt handler
  6. Replies
    7
    Views
    398

    Re: Preventing a byte rollover

    If using assembler in the BASIC listing be careful of RAM banks.

    If the variable being manipulated is different to the previous variable's RAM bank, the program will operate very differently...
  7. Replies
    5
    Views
    383

    Re: Compiler errors with 26Q10 device

    You are right.

    The PIC18FxxQ43 devices have broken all the rules on their RAM organisation and their flash memory access. They are so different, and the required changes to the compiler's source...
  8. Replies
    5
    Views
    383

    Re: Compiler errors with 26Q10 device

    Microchip have, yet again, changed the way things work on the 18FxxQxx devices for no real reason!!! :-(

    I've added the changes to the new compiler update, but for now add the following directives...
  9. Replies
    6
    Views
    265

    Re: pre-processor and strings

    There are many ways to read flash memory tables in the compiler, to make them similar to flash memory string arrays. Here's one method I've used in the past:



    Dim wFlashAddress As Word ...
  10. Replies
    15
    Views
    363

    Re: Very low illumination led strip

    Tim

    Maybe you would be better with an electroluminescent panel such as this, or another type;
    ...
  11. Thread: Versioning

    by top204
    Replies
    20
    Views
    808

    Re: Versioning

    Keytapper is correct.

    The XC8 free compiler and the other free C compilers from microchip do actually produce really bulky code, and they do, sometimes add extra mnemonics that should not be...
  12. Replies
    1
    Views
    132

    Happy birthday basparky

    Many happy returns Basparky. I hope you have a lovely day.
  13. Replies
    8
    Views
    583

    Re: The compiler mistery

    The preprocessor changes all $defines into the equivalent texts long before the asm file is created by the compiler. Even the compiler does not see the actual names of the $defines, just what they...
  14. Replies
    17
    Views
    687

    Re: Why would anybody buy anything from Apple.

    I'm the same George

    Since Windows XP, I've always had the desktop the same as my Windows 98 machines. I detest all of these background images on the desktop and all the shadows and gimmicks and...
  15. Replies
    2
    Views
    124

    Re: Rsout stops working/hangs

    Remember.... The Rsout, Rsin, Serout and Serin commands are software based. i.e. Bit-Bashed, so they use software timing for their Baud generation. An interrupt will interfere with the timings of the...
  16. Replies
    17
    Views
    687

    Re: Why would anybody buy anything from Apple.

    Linux, IMO, suffers from the fact that it is built by committee and there are, literally, hundreds of different versions of it for the same machines and processors etc...

    If they had stabilised...
  17. Replies
    8
    Views
    583

    Re: The compiler mistery

    You cannot mix Symbol constants with $define constants in preprocessor conditions or expressions etc... But you "can" mix $define constants within Symbol expressions.

    Symbol constants happen...
  18. Thread: Versioning

    by top204
    Replies
    20
    Views
    808

    Re: Versioning

    You can write to any flash memory area in a microcontroller, but not with the standard Proton commands because Microcohip keep changing how they do it and were the memory resides etc, and the...
  19. Replies
    20
    Views
    1,250

    Re: TX/RX with CC1101 Texas

    A bit-bashed (software) SPI procedure is quite easy to create and maintain, and it also eliminates any quirks and differences when using the MSSP peripheral.

    Below is an SPI full duplex procedure...
  20. Thread: Versioning

    by top204
    Replies
    20
    Views
    808

    Re: Versioning

    Or, simply write in the source code's header text what date it was created and what compiler version.

    I have done this for many years and to me it is the normal thing to do and is something I have...
  21. Replies
    5
    Views
    348

    Re: odd behaviour - help please - sword

    The anomaly only seems to occur in certain elements of the compiler, so for now, use a temporary variable for Select-EndSelect and signed arrays, and test loops that use them etc, but for standard...
  22. Replies
    17
    Views
    687

    Re: Why would anybody buy anything from Apple.

    It's good to know that sensible people have the same opinion as me.

    Over and over again I was told that "Apple is great" because they don't have problems with virus' or trojans etc, but that was...
  23. Replies
    7
    Views
    271

    Re: PIC 18F47K40 ADC - HELP Please?

    The 18FxxK40 devices have a dreadufully over complex ADC that the compiler's ADin command cannot control fully or automatically because there are so many iterations of the ADC's operation. The ADin...
  24. Replies
    17
    Views
    687

    Re: Why would anybody buy anything from Apple.

    Unfortunately, the vast majority of humans are "Sheep Like" and they believe that Apple is actually better than the rest, when it is, essentially, a rip off company that knows how to advertise. Hence...
  25. Replies
    5
    Views
    296

    Re: PIC18FxxQ devices

    The 18FxxQ10 devices were added in version 3.7.3.5 of the compiler

    See:

    C:\Program Files (x86)\ProtonIDE\PDS\Docs/Whats New.htm

    Or click on the Help->Documents menu option in the IDE

    Send...
  26. Replies
    5
    Views
    296

    Re: PIC18FxxQ devices

    The 18FxxQ10 devices are already supported thanks to Jon for funding the upgrade, see the what's new html in the help menu. The 18FxxQ43 devices are quite new so it will take a while to add them to...
  27. Thread: TM1637 code

    by top204
    Replies
    5
    Views
    416

    Re: TM1637 code

    Nice one Bob. :-)

    It's excellent to see procedures used in an 8-bit microcontroller program. They add a whole new methodology to the Proton language, making it even easier to use and a whole lot...
  28. Replies
    5
    Views
    348

    Re: odd behaviour - help please - sword

    There are some issues with Signed arrays at the moment in the Proton compiler, which I am working on when time permits. It looks like the Struct and TList that hold the array's identification is not...
  29. Re: SEROUT baudrate not correct in combination with 22.1184 MHz?

    Sorry Frizie. I didn't read the first post thoroughly enough. :-)

    Many thanks for your complement, it is very much appreciated.
  30. Re: SEROUT baudrate not correct in combination with 22.1184 MHz?

    Using an exact frequency that will divide for Baud rates with the software serial commands serves very little purpose. The software commands use integer calculations and variables for their timings,...
  31. Replies
    8
    Views
    694

    Re: Empty if..endif bug

    At compile time, the compiler has no idea whether a comparison is true or false if there is a variable, or variables, involded! That can only be acheived at run time. Think about it?

    For example:...
  32. Replies
    19
    Views
    835

    Proton 16x2 LCD with a PIC18F2550 and a PIC18F4550 device

    I've just ran some tests using the Isis simulator and both PIC18F2550 and PIC18F4550 devices, and the 16x2 LCD works on both, and without any warning messages given. I have tried the LCD on several...
  33. Replies
    19
    Views
    835

    Re: error in lcd 16x2

    Never trust simulation software 100%. It depends on which model they based their Hitachi chipset for the LCDs, and the timings used for it. An example of this type of issue is the Isis model of the...
  34. Replies
    8
    Views
    694

    Re: Empty if..endif bug

    Tests in the current version of the compiler, which is 3.7.3.6, shows it works as expected.

    Please.... If a user is going to report a "possible" anomaly, make sure it is the latest compiler...
  35. Proton Compiler 24-bit Long Integer Variables to be added soon!

    Just to let you know the addition of the 24-bit Integer Variables into the Proton compiler is going well.

    I have all the variable and array and expression routines written and I am now writing the...
  36. Re: Rsout does not work on Tx pin of the 18F25k22 but Hrsout does?

    It is only "some" of the recent devices that have allowed inverted or non-inverted output from a USART. I dare not add a directive for this because it will simply confuse users when the compiler...
  37. Re: New PIC18FxxQ43 Family Moves Software Tasks to Hardware

    Unfortunately, that is essentially what the PIC microcontrollers already have. They are now calling on-board peripherals something with more buzz. i.e. exaggerations of the truth.

    This is the...
  38. Replies
    9
    Views
    366

    Re: RF modules recomendations?

    You can try the nRF2401+ tranceivers. They operate at quite long ranges and are extremely inexpensive.

    I created a library for them a few years back for a project I was doing for someone, and I've...
  39. [SOLVED !] Re: How to read TTL input of a displacement transducer

    But the one good thing about that Joseph is that we have a lot of good friends on this forum, and for that I will always be glad.
  40. [SOLVED !] Re: How to read TTL input of a displacement transducer

    Thanks Joseph, but the UltraSonic Receiver code I wrote many years ago counts the time between the transmit and receive pulses. i.e TOF (Time Of Flight)

    I did a quick search and the thread with my...
  41. [SOLVED !] Re: How to read TTL input of a displacement transducer

    TTL is standard 5 Volts, with a threshold of approximately 2.5 Volts or over for a 1, and under approximately 2.5 Volts for a 0.

    Any standard 5 Volt operating microcontroller will read TTL on an...
  42. Thread: CWrite and ISR

    by top204
    Replies
    5
    Views
    508

    Re: CWrite and ISR

    The Cwrite and CErase library routines can automatically disable/re-enable the ISR when one is intiated with the On_Hardware_Interrupt directive. Just as I did with the Ewrite and ERead command...
  43. Re: (would this be great for Proton?) code editor

    I use the Visual Studio IDE with its plugin for the ESP modules. It is an excellent IDE, but unfortunately, I do not have the skills enough to create a plugin for Proton within it. :-(
  44. Thread: Dma pwm

    by top204
    Replies
    2
    Views
    566

    Re: Dma pwm

    DMA wasn't fully available with PIC24 devices when I first wrote Proton24, so I only added it to dsPIC33 devies, however, open the "P24HJ128GP502.ppi" file from: "C:\Program Files...
  45. Replies
    41
    Views
    1,738

    Re: Something screwy about 16F88 OSCCON register

    Here's a small program I've just tested and it worked fine. I always use serial data to test oscillator speeds because if the speed is incorrect, so will be Baud rate for the text that is...
  46. Replies
    16
    Views
    1,671

    Re: NEC Protocol IR remote control decoder

    That's what happens when friends start talking. :-) A lovely thought John, and it would be excellent to meet you and your wife, but I never did like Cricket. LOL
  47. Replies
    8
    Views
    780

    Re: Expand the Proton compiler

    It's not Arduino!!!

    All that is, is an IDE that interfaces with the open source GCC C++ compiler! It does nothing creative and never has.

    It is also a dreadful IDE!!!!!!

    The best IDE for the...
  48. Replies
    8
    Views
    780

    Re: Expand the Proton compiler

    Proton32 for the ARM core devices is something I am looking into, which include the ESP devices. However, Proton is not promoted or advertised in any way, so the year's continuous work to add them...
  49. Replies
    16
    Views
    1,671

    Re: NEC Protocol IR remote control decoder

    Many thanks for your lovely words Charlie.

    When we move back down to North Norfolk, hopefully within the year, it would be great to meet up with you and some of the other forum friends down in...
  50. Replies
    5
    Views
    1,493

    Re: PORTA.6 and PORTA.7 16F628A

    To see the fuses for a device, open its .ppi file found here: C:\Program Files (x86)\ProtonIDE\PDS\Includes\PPI

    The fuses available are at the bottom of the .ppi file, and the compiler's default...
  51. Replies
    5
    Views
    1,493

    Proton BASIC Compiler - PIC16F628A with pins PORTA.6 and PORTA.7 as I/O lines

    I've just ran some tests and the small demo program below flashes the LEDs connected to pins PORTA.6 and PORTA.7 using the internal 4MHz oscillator:



    '
    ' /\\\\\\\\\
    ' /\\\///////\\\
    ' ...
  52. Replies
    13
    Views
    1,149

    Re: New dual core dsPIC33CH PIC

    I'm busy adding support for the dsPIC33CK and dsPIC33CH devices, but it is a lengthy process. I'm using one of the 28-pin SSOP dsPIC33CK devices on my Positron16 platform board because they are so...
  53. Replies
    16
    Views
    1,671

    Re: NEC Protocol IR remote control decoder

    A beautiful piece of code AngryGorilla that makes me proud to have created the compilers. :-)
  54. Replies
    10
    Views
    989

    Re: Problem receiving string

    I've just checked the code on an 18F device and it is working as expected. However, the 1ms timeout in the Hserin command is a bit tight and will probaly miss characters and timeout far too early.
    ...
  55. Replies
    4
    Views
    464

    Re: Too much of a coincidence?

    An unlikely scenario, but I would put "nothing" past Micro$oft these days. If it doesn't make money for them, why do much testing on the last few updates?

    I stop updates on all operating systems I...
  56. Replies
    10
    Views
    989

    Re: Problem receiving string

    What device are you using Bob?

    Each device family (18F, standard 14-bit, enhanced 14-bit, PIC24, dsPIC33) has different asm routines for array and string handling, and also diffferent compiler...
  57. Replies
    3
    Views
    428

    Re: Eink serial displays

    Those E-Ink displays look quite good but they are still quite expensive for what they are and how long they have been with us, which is actually from the late 1980s!
  58. Re: Bzigo tracks and highlights wily mosquitoes

    Yet another pointless gimmick that will not work in the "real" world. :-)

    If the walls are not plain, bright colours, then there is no way a small object can be tracked, or if it is a bright room...
  59. Thread: Ea dogm204w-a

    by top204
    Replies
    5
    Views
    495

    Proton PIC BASIC - Hitachi LCD Cursor procedure

    Here's a procedure that I have just knocked up to move the cursor on a standard Hitachi HD44780 alphanumeric LCD. It is the same mechanism that the compiler's library Cursor and Print At use:


    ...
  60. Thread: Ea dogm204w-a

    by top204
    Replies
    5
    Views
    495

    Re: Ea dogm204w-a

    The problem with some of the Hitachi clones is that they have not followed the internal RAM layout the same. A lot of them did this type of twist to get under the copyright rules, so it is "nearly"...
  61. Replies
    142
    Views
    3,689

    Re: Les's ILI9325 Wiki code

    That is because of some of the changes I've made to the compiler's low-level directives since that code was written Charlie.

    In the ILI9325.inc file, go to the end of it and replace the #ifmacro...
  62. Replies
    16
    Views
    1,671

    Re: NEC Protocol IR remote control decoder

    Nice firmware keytapper.

    You are asking something quite time consuming AngryGorilla because of two things:

    1. The Arduino code is far too complex and simply does not need to be. IMO, that is...
  63. Replies
    142
    Views
    3,689

    Re: Les's ILI9325 Wiki code

    Charlie.... The 125KHz seems to be the internal ADC sampling rate. The SPI clock timings are in NanoSeconds. The rate at which the valid samples can be taken from the chip does need a delay between...
  64. Replies
    142
    Views
    3,689

    Proton BASIC Compiler - Software SPI interface to an ADS7846 touchscreen controller

    The addition of the procedures in Proton has made a world of difference to the compiler. It is now possible to make true libraries. It took quite a lot of work to add them to a flat compiler, but I...
  65. Replies
    142
    Views
    3,689

    Re: Les's ILI9325 Wiki code

    You're very welcome John

    Remember, it is just my opinion on the naming conventions. $define and Symbol both produce constant values, but $define creates text, while Symbol creates constant values...
  66. Replies
    142
    Views
    3,689

    Re: Les's ILI9325 Wiki code

    I mainly use the $define because the text gets highlighted in the code listing, so you can see more clearly that it is a constant. I also, generally, use the character lowercase c in front of a...
  67. Replies
    142
    Views
    3,689

    Re: Les's ILI9325 Wiki code

    You can use the compiler's Shin and Shout commands for the SPI interface because it is a standard mode 0:0 SPI interface to the chip. This will make the code transportable across devices. That has...
  68. Replies
    142
    Views
    3,689

    Proton PIC BASIC Compiler - ADS7846 TouchScreen Controller Library

    Each procedure sends the commands that are required for the type of operation that is needed.

    The only thing the user needs to do is measure the resistance of the four edges of the GLCD, then...
  69. Replies
    142
    Views
    3,689

    Proton PIC BASIC Compiler - ADS7846 TouchScreen Controller Library

    I've altered the ADS7846 touch screen controller firmware to act as an independent library using procedures, but I cannot test it because I no longer have the Amicus18 GLCD board.

    I've uploaded...
  70. Replies
    9
    Views
    693

    Re: Transistor curve tracer with a PIC

    Here's a simple program to create 2 sawtooth waveforms from the CCP peripherals operating as 10-bit PWMs.

    Because the PWM resolution is fixed at 10-bits, the value sent as the duty cycle is also...
  71. Replies
    15
    Views
    840

    Re: Can't get SR04 ultrasonic to work

    That's the main problem with all the Arduino boards and the PCBs that attach to it. They are running with technologies more than 10 years out of date, which were 5 Volts. i.e. TTL

    We now live in a...
  72. top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.3.6 - Proton24

    top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.3.6 - Proton24 1.0.6.7!

    Correction made in version 3.7.3.6 of Proton

    Proton Correction
    Corrected the LoadBit command for...
  73. Replies
    15
    Views
    840

    Re: Can't get SR04 ultrasonic to work

    Robbing etc, was only the war class of the Vikings, just like most other cultures in their time, who invaded other countries as often as they could. See Anglo-Saxons. After the Roman Empire crumbled...
  74. Replies
    15
    Views
    840

    Re: Can't get SR04 ultrasonic to work

    HaHa..... I must stop posting after having a few whiskies LOL
  75. Replies
    15
    Views
    840

    Re: Can't get SR04 ultrasonic to work

    No... Windows 10 is mostly Windows 7, but it is the subtle changes and removals that I have had to change, and the compiler's code now has comparisons to see what OS it is running on and changes the...
  76. Replies
    3
    Views
    269

    Re: Problem with LOADBIT

    Crickey.... I've just been going through my code history for the compiler versions, and that anomaly has been in the compiler for quite a while now.

    It has to do with the code that seperates the...
  77. Replies
    15
    Views
    840

    Re: Can't get SR04 ultrasonic to work

    See page 160 of the compiler's manual:



    For higher oscillators use a word variable for the result and you sould be OK. Try a lower frequency on the microcontroller to make sure it is not...
  78. Replies
    15
    Views
    840

    Re: Can't get SR04 ultrasonic to work

    Here's a piece of code I wrote many years ago for the article I wrote that showed how to make an ultrasonic TOF circuit and interface to the SRF04 and SRF08 modules. As far as I know, the Chinese...
  79. Replies
    11
    Views
    467

    Re: Merry Christmas everyone

    To all the good people on this forum, I hope you all have a lovely Christmas.

    With my very best regards
    Les
  80. top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.3.5 - Proton24

    top204 has just uploaded Proton Compilers Full Installer - Proton 3.7.3.5 - Proton24 1.0.6.7!

    Correction and Additions made in version 3.7.3.5 of Proton and version 1.0.6.7 of Proton24

    Proton...
  81. [SOLVED !] Re: problem with same variable in substraction ??

    I'll take a look at it this afternoon. Thanks for spotting a possible anomaly.
  82. Replies
    9
    Views
    806

    Re: SERIN/SEROUT how low can you go?

    The calculation for the Baud value for Serin and Serout is on page 240 of the compiler's manual.

    The calculation can be made into a pre-processor $define for easy access:



    '
    ' Calculate the...
  83. Replies
    9
    Views
    629

    Re: file missing from Proton 3.7.3.3 update??

    I'll place the files on both drives, so there are no problems in future.
  84. Replies
    9
    Views
    629

    Re: file missing from Proton 3.7.3.3 update??

    You are right, the file is not being opened when the link is clicked, it is just moves the user to the forum thread, yet it was created as it always is. I can not go and alter it to see what is wrong...
  85. 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...
  86. Replies
    16
    Views
    1,236

    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...
  87. Replies
    5
    Views
    575

    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...
  88. Replies
    14
    Views
    906

    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...
  89. Re: Symbol not previously defined - Another assemble error

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

    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.
    ...
  91. Replies
    14
    Views
    906

    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,...
  92. Replies
    14
    Views
    906

    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...
  93. Replies
    15
    Views
    809

    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.
    ...
  94. Replies
    14
    Views
    1,203

    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...
  95. 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,...
  96. 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
  97. Replies
    10
    Views
    642

    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...
  98. Replies
    14
    Views
    1,203

    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...
  99. Thread: FN-M16P wow's

    by top204
    Replies
    2
    Views
    553

    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...
  100. [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...
  101. [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...
  102. Replies
    3
    Views
    1,284

    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...
  103. Replies
    14
    Views
    1,203

    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...
  104. 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...
  105. Replies
    14
    Views
    1,203

    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...
  106. Replies
    10
    Views
    637

    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...
  107. Thread: Rc-522

    by top204
    Replies
    2
    Views
    352

    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...
  108. Replies
    10
    Views
    637

    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...
  109. Replies
    3
    Views
    672

    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...
  110. Replies
    10
    Views
    637

    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...
  111. Replies
    7
    Views
    2,663

    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....
  112. Replies
    19
    Views
    1,767

    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...
  113. 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...
  114. Replies
    7
    Views
    1,178

    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...
  115. Replies
    49
    Views
    2,413

    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,...
  116. 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...
  117. Replies
    3
    Views
    727

    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...
  118. 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...
  119. Replies
    25
    Views
    6,270

    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...
  120. Replies
    12
    Views
    1,895

    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...
  121. Replies
    12
    Views
    1,895

    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. :-(
  122. Replies
    12
    Views
    1,895

    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...
  123. Thread: Bits and pieces

    by top204
    Replies
    2
    Views
    968

    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...
  124. 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...
  125. Thread: SensorTile.box

    by top204
    Replies
    7
    Views
    430

    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...
  126. Replies
    7
    Views
    335

    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...
  127. Replies
    6
    Views
    364

    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...
  128. Replies
    142
    Views
    3,689

    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...
  129. Thread: SensorTile.box

    by top204
    Replies
    7
    Views
    430

    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...
  130. Replies
    142
    Views
    3,689

    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...
  131. Replies
    142
    Views
    3,689

    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...
  132. Replies
    142
    Views
    3,689

    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...
  133. Replies
    9
    Views
    385

    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...
  134. Thread: SensorTile.box

    by top204
    Replies
    7
    Views
    430

    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,...
  135. Replies
    9
    Views
    385

    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...
  136. Replies
    49
    Views
    2,413

    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...
  137. Replies
    3
    Views
    313

    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...
  138. Replies
    20
    Views
    1,336

    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...
  139. Replies
    3
    Views
    313

    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...
  140. 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...
  141. Replies
    20
    Views
    1,336

    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...
  142. Replies
    20
    Views
    1,336

    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...
  143. Replies
    20
    Views
    1,336

    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...
  144. Replies
    34
    Views
    1,284

    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,...
  145. Replies
    11
    Views
    525

    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...
  146. Replies
    9
    Views
    374

    [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...
  147. Thread: SMS Number Save

    by top204
    Replies
    19
    Views
    1,458

    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...
  148. Replies
    8
    Views
    383

    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...
  149. Replies
    6
    Views
    263

    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...
  150. Replies
    9
    Views
    374

    [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...
  151. Replies
    6
    Views
    263

    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...
  152. Replies
    6
    Views
    263

    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.
    ...
  153. Replies
    11
    Views
    525

    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...
  154. Thread: ch376

    by top204
    Replies
    14
    Views
    1,277

    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...
  155. 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 =...
  156. Replies
    8
    Views
    308

    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...
  157. 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...
  158. 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...
  159. Replies
    8
    Views
    308

    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...
  160. Replies
    8
    Views
    560

    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...
  161. Replies
    11
    Views
    383

    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,...
  162. 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...
  163. Replies
    11
    Views
    383

    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...
  164. Replies
    1
    Views
    165

    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...
  165. 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...
  166. 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.
  167. 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...
  168. Replies
    142
    Views
    3,689

    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.
  169. 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.
  170. Replies
    11
    Views
    383

    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...
  171. Replies
    4
    Views
    672

    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...
  172. Replies
    6
    Views
    216

    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...
  173. Replies
    16
    Views
    585

    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...
  174. Replies
    16
    Views
    585

    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...
  175. Replies
    5
    Views
    2,504

    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...
  176. Replies
    13
    Views
    1,562

    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...
  177. Replies
    16
    Views
    585

    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?...
  178. Replies
    16
    Views
    585

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

    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...
  180. Replies
    8
    Views
    302

    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...
  181. 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...
  182. Replies
    8
    Views
    302

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

    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...
  184. Replies
    8
    Views
    302

    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...
  185. Replies
    8
    Views
    302

    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...
  186. 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...
  187. Re: johngb has just uploaded Proton Studio Update 1.0.2.10!

    Your IDE just gets better and better. Many thanks John.
  188. 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.
  189. 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...
  190. Replies
    142
    Views
    3,689

    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....
  191. Replies
    142
    Views
    3,689

    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...
  192. Replies
    21
    Views
    6,093

    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...
  193. 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...
  194. Replies
    4
    Views
    253

    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...
  195. Replies
    11
    Views
    2,856

    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...
  196. Replies
    11
    Views
    2,856

    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...
  197. 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...
  198. Replies
    2
    Views
    148

    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...
  199. Replies
    11
    Views
    525

    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...
  200. Replies
    11
    Views
    525

    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...
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4