Search Results - Proton BASIC community web site


Search:

Type: Posts; User: keytapper

Search: Search took 0.01 seconds.

  1. Re: Frequency counter, something to keep around.

    You're right. I had an oversight.
  2. Replies
    12
    Views
    437

    Re: Negetive Numbers with minus sign

    For my taste I'd put an interrupt routine to handle the display and its refreshing rate. So the main will have just to care about to load the N variable.
  3. Replies
    12
    Views
    437

    Re: Negetive Numbers with minus sign

    I suppose that you won't get the correct result. a SWord is from -32678 up to 32678. The red constant is 256 times greater.
    There some hideous thing that you are using in your source that is not...
  4. Replies
    12
    Views
    437

    Re: Negetive Numbers with minus sign

    I understand that OP is just a beginner and self learner. So the mileage may be longer to know the tricks and facilities that the language is offering.

    In my attempt I used to load an array for...
  5. Frequency counter, something to keep around.

    Hello Forum,
    strolling around the web I stumble to the Alberto project. But trying to compile there are some errors telling about the PPthings not available.
    I praise Alberto for his great skill to...
  6. Replies
    19
    Views
    352

    Re: Decimal part from a Float

    Great tip, I wasn't aware of.
  7. Replies
    13
    Views
    329

    Re: I2C Help Pic18F47K40 Please!

    I never got to use 18F, but I'd suggest to analyze the I2C connection by the help of a digital analyzer.
  8. Replies
    12
    Views
    437

    Re: Negetive Numbers with minus sign

    I got very curious about your source and I spend a little time to make it a bit optimized. Don't be offended I'd like to show some trick to obtain same results with less complications. For example...
  9. Re: Select... Case not producing correct result

    I may say something incorrect for this case, but I think, as rule of thumb, that Select doesn't consider negative numbers.
  10. Replies
    8
    Views
    354

    Re: Looking for the keyword list

    UPDATES
    Working on notepad++ I stumble on something that I don't like. Setting a dark theme the highlight is not following the default. This shouldn't happen, but is something that may happen to...
  11. Replies
    8
    Views
    354

    Re: Looking for the keyword list

    I've to correct my perception about Flosi's information. That is different usage of macro keystrokes.
    My intent is just to see the highlighting used by Proton Basic. The Notepad++ macros may suffice...
  12. Replies
    8
    Views
    354

    Re: Looking for the keyword list

    Thanks Flosi, one more step ahead.
    I think there may be some adjustment because the issue date is pretty old, some new work might not be there.
    I'll work to update the list. I think that John list...
  13. Replies
    26
    Views
    649

    Re: Coronavirus Alert!!

    This might not predict true. I suppose there may be more activities related the more time to share at home.
    Unless the bitter discovering that the chosen partner is not the best choice ever made. As...
  14. Replies
    26
    Views
    649

    Re: Coronavirus Alert!!

    It's the good support to our moral to have a hope.
    But against the odd, the humanity should need a different education, which is just what we have to comply now, stay at home.
  15. Replies
    3
    Views
    314

    Re: Can somebody help?

    I'd suggest to avoid routine calls in ISR. Rather put a flag and the main loop will take care to absolve the routine as soon as time is available.

    So as you want to refresh your LCD, just flag...
  16. Replies
    7
    Views
    396

    Re: Preventing a byte rollover

    Thank you for your precious guideline. Very informative.
    Currently the case is minimized to a 12F675 (a bunch of them in my stock). So surely I have no page swapping to care :P

    Using the FSR the...
  17. Replies
    8
    Views
    354

    Re: Looking for the keyword list

    Thank you for the clue, I seen it.
    There will be a bit of manipulations before to convert the keywords into groups for the Notepad++. So I'll spend some time to write a python script to elaborate...
  18. Replies
    8
    Views
    354

    Looking for the keyword list

    Hello forum,
    I need the complete list of proton basic keywords, because I'd like to add the highlighting on the Notepad++, which is great on its macros and other features.
    I think the list should...
  19. Replies
    26
    Views
    649

    Re: Coronavirus Alert!!

    https://www.imdb.com/title/tt1598778/
  20. Replies
    26
    Views
    649

    Re: Coronavirus Alert!!

    The idea was mine :P, or very close.... The scare of the pandemic has led many Countries to adopt the lock-down.
    I may say that viruses don't fly, even they do, like avian flu, they don't go so...
  21. Replies
    7
    Views
    396

    Re: Preventing a byte rollover

    Assumed that TMR0 is the last to be loaded, which it take place in ISR, I realized that I should use those increasing steps that are resulting to the maximum of 255. So they are 1, 3, 5,17 or...
  22. Replies
    7
    Views
    396

    Re: Preventing a byte rollover

    As a part of that source the TMR0 is loaded with the inverted value. That means if I counted a delay of 43, I load -43 which is 212. The count will reach 0 after 43 counts. That is fine, but the PID...
  23. Replies
    7
    Views
    396

    Preventing a byte rollover

    Hello forum,
    For midrange MCU 14bits I'm implementing a delay on TMR0. There must be a method to exclude that summing or subtracting a value will result on a roll over. Otherwise the delay to fire a...
  24. Replies
    6
    Views
    265

    Re: pre-processor and strings

    You may use the AddressOf() to calculate the difference between to label positions. I don't know if that will need some MCU code or it will just suffice the preprocessor calculations.
  25. Thread: Versioning

    by keytapper
    Replies
    20
    Views
    808

    Re: Versioning

    If you like to use C++ and Wiring to write a little source don't expect nothing but inefficient results. In particular some library is rather a bunch of statements with less conscious respect for a...
  26. Replies
    8
    Views
    583

    Re: The compiler mistery

    I moved some step further but I can't achieve what I'd expect. For clarity here's the source


    '' Version = 0.0.0.15
    Config INTRC_OSC_NOCLKOUT, WDT_OFF, MCLRE_OFF

    Device 12F675...
  27. Replies
    1
    Views
    132

    Re: Happy birthday basparky

    Give it a good Whiskey bottle to prevent covid-19 attacks :D
  28. Re: Why would anybody buy anything from Apple.

    I meant that MS may come up with their linux version for what suites their styles. As Google adopted a debian based linux and modeled to act as they expect to do.

    So in a review for the OSes, it...
  29. Thread: Versioning

    by keytapper
    Replies
    20
    Views
    808

    Re: Versioning

    I frozen my interest on XC8 to the version 1.45, as I saw a web page describing the differences between free and Pro. And probably is quite old like this page.
    I rather stay on FOSS and my favorite...
  30. Re: Why would anybody buy anything from Apple.

    For my guts the AmigaOS is/was the best ever. Specially because was written on EPPROM, non headaches if suddenly switched off, no viruses on the OS. But like the OSX is a *nix derived OS.
    IF MS will...
  31. Replies
    8
    Views
    583

    Re: The compiler mistery

    Great suggestion. Unfortunately I studied the case by checking the result on the assembled file. There we might see the $define copied verbatim rather than translated. therefore my conclusion was to...
  32. Thread: Versioning

    by keytapper
    Replies
    20
    Views
    808

    Re: Versioning

    Thanks to correct my sentence, you're right.
    I'd like to say that their XC8 is rather adding a bulk of useless code, for the free version. Unless they have change something on the latest version,...
  33. Replies
    8
    Views
    583

    Re: The compiler mistery

    I confess that I learned my way what is the difference from Symbols and $defines. This my discovery gave me the impression that with $define there aren't calculations and that will transfer the...
  34. Thread: Versioning

    by keytapper
    Replies
    20
    Views
    808

    Re: Versioning

    I see that you are oriented on the wider perspective of the compiler. But for my common life style of a hobbyist, I stopped to the mid range family and I just look a bit for the enhanced one. I...
  35. Replies
    8
    Views
    583

    The compiler mistery

    Hello forum,
    I'm trying to understand this

    $define CLOSELOOP ' whit a close loop controlled by RPM
    $define NUMFSPS 2 ' frequency sample per second
    $ifdef...
  36. Re: Why would anybody buy anything from Apple.

    I'm using Linux since 1996 or 97 (I can't be sure). The linux style is that everyone can contribute so there's no need to reinvent the wheel for every new program. This way leads to use all the...
  37. Thread: Versioning

    by keytapper
    Replies
    20
    Views
    808

    Re: Versioning

    Thanks George, you gave me an idea.
    I may write a python script to append the versioning number. I've to correct the my sentence, the 4 bytes are located at 0x2000, 0x2001, 0x2002,0x2003.

    The...
  38. Thread: Versioning

    by keytapper
    Replies
    20
    Views
    808

    Re: Versioning

    Good guidelines, most of which I already implemented, in facts some project I have hundreds of source files. Some times I forget to save the latest modification, then I switch the computer so the...
  39. Thread: Versioning

    by keytapper
    Replies
    20
    Views
    808

    Versioning

    Hello forum,
    I frequently get confused on what I wrote on my chips, because of several modifications and improvements are taken for a particular firmware. So for some help I'm trying to set a...
  40. Replies
    8
    Views
    581

    Re: Proton Studio with a Dark theme.

    AFAIK, the windows background is not a program matter, but it might a Windows (TM) color setting. IIRC.
    But, then the windows editor is rather configurable, less the other panes.
  41. Re: How can you change the color of the program writing?

    With a black background all the keywords should be set with brighter colors. Optionally one may set a highlighter for a particular keyword if its background differ from the page background. In such...
  42. Replies
    8
    Views
    581

    Re: Proton Studio with a Dark theme.

    I'm glad for your efforts John, for whom suffer of photophobia this is manna from heaven :). I'd like to know whether exists the file that contains the settings (including the colors), which may help...
  43. Replies
    19
    Views
    833

    Re: error in lcd 16x2

    Frankly I don't expect VSM to perform SPICE results correctly in the analog world. It may not suffice. Just to mention that a cd4060 is not working the oscillator section.
  44. Replies
    3
    Views
    660

    Re: PIc 16F and I2C LCD module

    I've tried to compile with the MSSP, but definitely I got what I knew. The hardware between the two micro are very different. I only hope that the code to the PCF8574 remaining same, so the PRINT...
  45. Replies
    3
    Views
    660

    PIc 16F and I2C LCD module

    Hello forum,
    I and a friend of mine attempting to use a LCD display driven by PCF8574. I seen this post and i think that using the soft version it might work.
    Even hardware solution might be...
  46. Replies
    8
    Views
    780

    Re: Expand the Proton compiler

    I was considering whether a guru would pick up a python translator, like Pyastra. I think it might be a good point, because has the power of easy use like basic and the (probably) flexibility to...
  47. Replies
    4
    Views
    398

    Re: Typical flat BASIC Program Layout

    The layout might depend on the compiler to process the input in a certain manner.
    I put a concern regarding where the includes might be. They are included exactly where its statement lays. Therefore...
  48. Replies
    4
    Views
    463

    Re: Too much of a coincidence?

    I suppose that if we don't connect to the internet, it will last much more.
  49. Thread: PIC and HC05

    by keytapper
    Replies
    9
    Views
    795

    Re: PIC and HC05

    OK here a little example



    Config INTRC_OSC_NOCLKOUT, WDT_OFF, MCLRE_OFF

    Device 12F675
    Declare Xtal 4
    Symbol GPIF = INTCON.0 ' Port Change Interrupt Flag
    Symbol T0IF = INTCON.2 ...
  50. Replies
    16
    Views
    1,664

    Re: NEC Protocol IR remote control decoder

    @ Les
    I'm aware of your implementation, but I was rather attracted to use a timer. Since Timer0 doesn't fit with only its 8bit counting, I preferred to use timer1.
    It's clear that your design will...
  51. Replies
    16
    Views
    1,664

    Re: NEC Protocol IR remote control decoder

    I've done a small program to handle that protocol. It's using timer1 for the timing. My attempt was on a PIC12F675.
    In the attached file you will find the includes for three common protocol. NEC,...
  52. Thread: PIC and HC05

    by keytapper
    Replies
    9
    Views
    795

    Re: PIC and HC05

    You should prepare the registers to the correct baud rate, which is supposed to be 9600 by default.
    So just consult the manual to setup the baud rate for your PIC.
  53. Replies
    20
    Views
    1,249

    Re: TX/RX with CC1101 Texas

    I wish you that somebody else will get intrigued to study the case. I hardly find the solution because of no hardware to test and a bit it is no my need to use such modules.
    Basically, as I...
  54. Replies
    4
    Views
    507

    Re: New SimplePnP pick n place

    I was just thinking about SMT, if THT there must be good preparation for the component to get into the holes.
  55. Replies
    4
    Views
    507

    Re: New SimplePnP pick n place

    Commenting the picture, seems it won't go that good.
    Commenting the title, where's the part to solder the components? Or, are they just glued ?
  56. Replies
    14
    Views
    906

    Re: Amicus 24 schematic?

    I think that the board should be something that most of the makers would look at. But the latest trend is IoT, so it should have a bit of WiFi in it and perhaps a small board which would go to on a...
  57. Replies
    20
    Views
    1,249

    Re: TX/RX with CC1101 Texas

    Sorry, Giuseppe,
    Which library are you referring to ?
    Is the Elechouse one ?
    I suppose that the only answer is to imitate closely the way the library developer has done. So it would take to use...
  58. Replies
    4
    Views
    370

    Re: Examining elements of a string

    As String is implemented, it will be also possible to use left$, mid$ and right$. But let's say a bit wasteful.
  59. Replies
    15
    Views
    808

    Re: 3.7.3.1 download will not unzip

    Latest Firefox pose to much concern on issued certificates from the connecting site. Several times it refuses to open a web page within certain circumstances, whereas few minutes later will do...
  60. Re: Changes after latest version of the compiler

    I convene that we can, at certain point, help the basic by adding some special routines in assembly. But as I could see, system variable are not guarantee to be there unless stated. So if one wants...
  61. Re: Changes after latest version of the compiler

    I think that using internal variable is not a good practice. I found it on my own too, on the way to save some variable, but it become a high risk.
  62. Replies
    10
    Views
    636

    Re: Need some help from a VB expert

    You need to clean the cooling system. Whoever will do it, will have to stop your computer. If it's made by you, then you may save time and money. In case of laptop the issue is rather laborious, many...
  63. Replies
    7
    Views
    589

    Re: test posting by admin

    Are in milliseconds :D ?
    For my case, looks like that.
    But, don't cross your comfort line, now it's fine.
    I really worry to got some malicious joker stuck on me, that uses my credentials around...
  64. Replies
    7
    Views
    589

    Re: test posting by admin

    It's a bit unusual. Other forums, which I visit doesn't behave like this.
    OK, I'll get used to tick the remember me.
  65. Replies
    7
    Views
    589

    Re: test posting by admin

    Trying today, whether the browser will kick me out, or the forum has such power.
    Last modification was to tick the remember me, which seems to have a positive effect.
  66. Replies
    7
    Views
    589

    test posting by admin

    Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...
  67. Replies
    19
    Views
    1,767

    Re: PPS for 8bit Microchip Micocontrollers

    May praises for your great support.
  68. Thread: Variable

    by keytapper
    Replies
    5
    Views
    2,712

    Re: Variable

    One might alias any singular bit if needed.

    Dim button as byte
    Dim menu as button.0
    Dim Up as button.1
    Dim Down as button.2

    Clear button ' clearing all flags at once ;-)
  69. Replies
    8
    Views
    905

    Re: 16f688 going to sleep issue

    Hello George,
    The methods are already cited. But it may take a couple of minutes to add it to the language. Just like to write a procedure

    proc Reset()
    asm-
    GoTo...
  70. Replies
    8
    Views
    589

    Re: 10Hz to 10KHz Frequency Generator

    Thanks you for mentioning that program. I often use this web page
  71. Replies
    8
    Views
    905

    Re: 16f688 going to sleep issue

    Well, you should not need to use a hardware reset. There's the option to go for the software one.
  72. Replies
    3
    Views
    372

    Re: Mosfet protection diode for a pump?

    It will be the best precaution to add the diode, big enough the direct current involved.
  73. Replies
    8
    Views
    905

    Re: 16f688 going to sleep issue

    If you want to reset after it wakes up you might use the MCLR pin :P
    Otherwise I wrote a discussion.
    So you might try to set a assembly command like GoTo proton#code#start. Just after the sleep...
  74. Replies
    7
    Views
    335

    Re: HD44780 positioning the cursor.

    That's my fault, I missed to check deeply.
    But, as Mr Les stated, it might fail to comply with certain products.
  75. Replies
    9
    Views
    384

    Re: Reset from the software

    Oh yeah, it even not need a transistor, Just link another pin to MRCLR an write to pull it low for a while.
  76. Replies
    7
    Views
    430

    Re: SensorTile.box

    Programming is rather in front a text editor and keyboard, no much use of graphical interface and mouse are needed. Furthermore the nerd are linux oriented :D, which is meant to be concentrated to...
  77. Replies
    7
    Views
    335

    Re: HD44780 positioning the cursor.

    I was playing today and I found that to address the third and fourth row I had to use to address the first with the column number over the real display with. The same for the fourth.
    So addressing...
  78. Replies
    9
    Views
    384

    Re: Reset from the software

    For the actual task I might write GoTo proton#code#start in assembler without a glitch. So I don't know why my first trial didn't go on the right way.
    For my perspective I have a stock of these...
  79. Replies
    9
    Views
    384

    Re: Reset from the software

    I know this option, but it is a bit trickier than the other, which has a bit more to do with the hardware configuration. So for instance to have a need of the timer0, the watchdog timing will remain...
  80. Replies
    7
    Views
    335

    HD44780 positioning the cursor.

    Hello forum,
    fiddling with a program, which is not compiling[1], I stumble on the question about the positioning the cursor on the LCD.
    I haven't tried to issue a Print AT row,column without the...
  81. Replies
    9
    Views
    384

    Reset from the software

    Hello forum,
    I came across this question, how to reset the micro from the program itself. I'm generally referring to Midrange PIC family.
    So trying to send a goto to $00 the compiler will not allow...
  82. Replies
    6
    Views
    262

    Re: Trying a procedure, but errors I found

    From some perspective I feel I offended Mr. Les, my apologies.
    There are a lot of good in proton basic, that we enjoy every day, so I won't ask anymore for this case, I'll bear for what is good as...
  83. Replies
    19
    Views
    1,457

    Re: SMS Number Save

    I think there are hidden characters on your message.
    Perhaps it may take to investigate what is the exact message sent to the module including non printable characters.
  84. Replies
    6
    Views
    262

    Re: Trying a procedure, but errors I found

    I suppose that is just a way how the line are parsed from the compiler. That normally has its rule, but other parsers allowing to put anything in between to parentheses, which are supposed to be...
  85. Replies
    6
    Views
    262

    Trying a procedure, but errors I found

    Device = 16F876

    Config FOSC_HS, WDTE_OFF, PWRTE_OFF, CP_OFF, BOREN_ON, LVP_OFF, _
    CPD_OFF, WRT_ON, DEBUG_OFF

    Dim tlong As Dword ' variabile di calcolo di una media

    Proc...
  86. Re: MSSP module, propose for the Hshin/Hshout

    It might be a wrapper to just permute the serial command over the 74xx595 into the ordinary Print call.
    FOUND it :D
    As I imagined is a bit of hack over the Print command, which has to pass the the...
  87. Re: MSSP module, propose for the Hshin/Hshout

    I started this discussion because of my new project is dealing with a HD44780 LCD controller interfaced with a 74xx595, on a 16F628A. So, from a pythonic perspective I was thinking about to use...
  88. Re: MSSP module, propose for the Hshin/Hshout

    The greatest idea ever. In fact it may help to distribute a snippet across programs.
    I was thinking that command, for whom, like newcomer, needs to deal with command simplicity. The procedure are...
  89. MSSP module, propose for the Hshin/Hshout

    I'm hoping to find this new feature in a near future.

    This new command might imply certain declares to set up the MSSP module (for the MCU that is included), prior to run the command, as it's for...
  90. Replies
    11
    Views
    382

    Re: serious problem with 4 bytes float

    I think it's the rest of OP code that heats up all the 64 bytes of RAM.
    So it would be less expensive to go for a 12F1522 which has as much as 4 times fold of 12F675, and license free.
  91. Re: HAVING ISSUE WITH PROC USAGE project is high speed serial backpac

    I hardly believe that a procedure can call a subroutine. I suppose that procedures are compiled prior to know about the entire source. Then they'll be linked.
  92. Replies
    13
    Views
    1,558

    Re: SD File System revisited

    Procedure is a greater improvement, which might supersede the need of macro or some assembly black magic.
    Finally the procedure lets the user to tailor and reuse a broad set of written source. What...
  93. Replies
    11
    Views
    382

    Re: serious problem with 4 bytes float

    The solution is just prior your post. Haven't you tried out ?
  94. Replies
    19
    Views
    481

    Re: One mans meat is another mans poison

    The new post list is not there any longer, FF too.
    I'd like if the "New Posts" button becomes a drop down combo, so the header will remain tidier and more things are visible, also while browsing...
  95. Replies
    9
    Views
    261

    Re: Pic to pic connections

    I think you should review whether there are bottlenecks. Perhaps some more code optimization and polish out some of assembly for the crucial situations.
    Secondly you may need an extra pin, which the...
  96. Replies
    16
    Views
    584

    Re: The Proton manual

    I'll pose a undocumented question....
    What about to promote tutorial on youtube ?
    What will be the financial benefit?
    Anyway, might take an extra work to do video editing, prior publish them :)
  97. Thread: Hi All

    by keytapper
    Replies
    10
    Views
    289

    Re: Hi All

    These captcha might be all sort of mechanized solution that trolls are well aware. Perhaps there are humans behind the registration, just to get a new place to put their ads.
    I was rather thinking...
  98. Thread: Hi All

    by keytapper
    Replies
    10
    Views
    289

    Re: Hi All

    I think that a registration may require some graphic test, that only human can solve. Perhaps using to select a picture that should be validated by emails would put a harder time for bot to break in.
  99. Replies
    16
    Views
    584

    Re: The Proton manual

    It seems that the PDF it has copy protection enable.
  100. Replies
    8
    Views
    302

    Re: Strange compile for a 16F628A

    I understood what save and restore were doing. I didn't get the reason why these operations are necessary, until you clarified that it is involving many SFRs. The worry has come when trying to...
  101. Replies
    9
    Views
    287

    Re: Is XTAL available at compile time

    It's worth to know a little of assembler, which expand the knowledge how the compiler works, behind the scene. If it isn't the assembler itself, It might help to know its syntax and features.
  102. Replies
    8
    Views
    302

    Re: Strange compile for a 16F628A

    OK, I didn't suspect to had missing something. Therefore the files are available here. It can be noted on the assembly, that the context save will write to EEPROM
  103. Replies
    8
    Views
    302

    Strange compile for a 16F628A

    I can't understand why the context save/restore wants to save eeprom data, which causing a huge effect that the writing is not synchronized.

    This is the rough program that I started.

    ...
  104. Thread: PIC and HC05

    by keytapper
    Replies
    9
    Views
    795

    Re: PIC and HC05

    That's easily achieved by setting a serial interface to the HC-05. It will depend whether you want to use the hardware module or a software serial emulated one.
    So just to make sure you will set the...
  105. Replies
    3
    Views
    141

    Re: Cell phone charger as a power supply?

    I use them too. My family left many of these chargers because changing phones often.
    I also got those small modules Hi Link, which are space saver too....
  106. Replies
    3
    Views
    291

    Re: Unbalanced $if $endif statements

    Download Kate
    https://kate-editor.org/get-it/
    Download the syntax highlighter
    http://www.protonbasic.co.uk/showthread.php/78485-I-have-made-some-highlight-syntax-for-KATE/page2
    Which you will...
  107. Replies
    3
    Views
    291

    Re: Unbalanced $if $endif statements

    I use Kate with my highlighting syntax, which includes the code folding for such statements. Therefore I can find when there are incorrect/unbalanced code blocks.
    Anyway John's Proton Studio has the...
  108. Replies
    8
    Views
    581

    Re: Proton Studio with a Dark theme.

    Isn't it theme-able ?
    You might leave the option to the user to choose from a set of themes.
    Well I understand that is a bunch of work to parametrize all the values :)
  109. Re: Electronic roulette with PIC microcontroller

    I don't wish to hi-jack this discussion, you may follow up this one.
  110. Driving WS2812B strips with 12F1822 (40)

    Hello Forum,
    Herein I enclose a snippet to use as subroutine for driving WS2812S LEDs



    '------------------------------------------------------------------------------
    Dim candlecntr As Byte
    ...
  111. Re: Electronic roulette with PIC microcontroller

    I tried to elaborate the WS2812 with a 12F1822, with good results. But that excludes the Les library, because it's too slow :topsy_turvy:
  112. Replies
    4
    Views
    2,435

    Re: How to use timers in microcontroller

    As I suspect you want to solve your previous program, for the pic16F886 that you plan to use, there are three timers.
    If no where else is required to use a timer, the best attempt is to use the...
  113. Replies
    71
    Views
    10,416

    Re: Temperature Controller Problem

    Lengthy program is better to see on its tag, which is the # icon on top of the editor. Or even better to add in an attachment.



    As Top204 mention, you need to administer the time for every...
  114. Replies
    20
    Views
    1,249

    Re: TX/RX with CC1101 Texas

    That was mine translation that took some automated process. So I just replaced the original // with the equivalent in basic of apostrophe symbol. I was unaware that the part of a preprocessor...
  115. Re: Proton v.3.7.2.1 created file "c:\full_after.bas" after compiled. Why?

    For my taste, I'd like to have the assembler without the lengthy header, which might be have an #include on the top of the file. Over all it would improve readability.
    Who likes to see the whole...
  116. Replies
    6
    Views
    191

    Re: Happy Birthday Rick

    +1, specially after 50 years of the moon landing.
  117. Replies
    20
    Views
    1,249

    Re: TX/RX with CC1101 Texas

    As a normal user, reading the manual is rather the last chance. I confess that I haven't noted such existence.
    So for such case it is preferred to comment by a semicolon, which won't cause such...
  118. Replies
    9
    Views
    263

    Re: Using procedures, best practices

    From my knowledge, I think that procedures must be declared and constructed before they'll be used. This is like what happen when writing a source in C.
    Then I suppose that the proton compiler might...
  119. Replies
    3
    Views
    143

    Re: TERN accept no expression(s)

    I'd rather opt the form of python

    a=0 If <evaluate true> Else 234
    Anyway I welcome the new implementation.
  120. Re: Unable to change device using prplus.exe command-line

    I, too, invite to drop such idea.
    If you plan a development, it's a way better to use FOSS, but not to depend on Microchip software, rebuild over someone else developer.
  121. Replies
    71
    Views
    10,416

    Re: Temperature Controller Problem

    For button I'd propose to have a look to my snippet.
    But I think it will take a bit of learning curve ;) to decipher my code :D
    Anyways the simplest solution for the simplest user case would be to...
  122. Re: Unable to change device using prplus.exe command-line

    Yeah, sorry my misunderstanding.
  123. Replies
    71
    Views
    10,416

    Re: Temperature Controller Problem

    Quick and dirty, add to your source:

    Dim PP1 as Word System
    Sometimes I got these compiler oversights :D
  124. Re: Unable to change device using prplus.exe command-line

    Mine is 8.60, but it rather suffice for my purposes. Usually I work for small size programming which may fit into 2 Kwords.

    I wonder whether ProtonBasic can go into the MPXlab toolchain. I don't...
  125. Re: Unable to change device using prplus.exe command-line

    The conversion it useful for me, because I need to see the code during the simulation. Otherwise it will be skipped. The basic source still in it, so it's helpful to trace the debugging.
    Regarding...
  126. Re: Unable to change device using prplus.exe command-line

    Suppose to use the command line, as we are talking about here, what are the keywords and arguments that can be used ?
  127. Re: Unable to change device using prplus.exe command-line

    Well, that's my requirement to convert the coff into assembly form. It's easier to use with mixed assembly code. :)
  128. Re: Unable to change device using prplus.exe command-line

    I done this. I hope you'll find a clue.
  129. Re: I have made some highlight syntax for KATE

    I have also made a small batch file, because I'm used to compile in a mixed mode with assembler. Soon I'll try to add a hot key to run these bits.


    @echo off
    cd /d %~p1
    "C:\Program Files...
  130. Replies
    20
    Views
    1,249

    Re: TX/RX with CC1101 Texas

    Hi John,
    Giuseppe is my penpal and I'm helping him for this matter. The link you posted is already under my microscope for dissecting and I tried to translate it into Proton Basic. That's came...
  131. Re: I have made some highlight syntax for KATE

    The XML is placed according the OS one is using.
    For linux lowers it would be $HOME/.local/share/org.kde.syntax-highlighting/syntax/protonbasic.xml. Which might need to create the appropriate path...
  132. Re: I have made some highlight syntax for KATE

    Thank you for the input, I rather stick to my linux as much as I can :pride:. Only for few occasion I then switch to MS windows.
    Lately I'm very happy that the most programs I use are running also...
  133. Re: I have made some highlight syntax for KATE

    Tried Proton Studio and FineLine.
    My impression is about setting Windows colors on the way that the theme would be dark with high contrasted details. For PS the windows may be change only the...
  134. Re: I have made some highlight syntax for KATE

    Thanks for the input.
    I'll give it a try. But I confess I'm fallen in love with Kate :biggrin:.
    Besides to the color scheme, there are code folding (of which I done an adjustment, a bit). There's...
  135. Replies
    0
    Views
    183

    OneButton a snippet

    I wrote this snippet in order to have different functionality from a single button.


    Symbol ACTIVE _HIGH
    $ifndef DEBOUNCE
    $define DEBOUNCE 20
    $endif
    $ifndef PAUSETICK
    $define...
  136. I have made some highlight syntax for KATE

    Hello Forum,
    I'm new comer, and I'd like to share my fiddling with proton basic and MCU (I'm used to play with 1 Kwords MCU).
    So for my purely own tast I prefer to edit the source on a dark theme,...
Results 1 to 136 of 136