Search Results - Proton BASIC community web site


Search:

Type: Posts; User: top204

Page 1 of 5 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    7
    Views
    280

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

    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...
  3. 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...
  4. Replies
    7
    Views
    348

    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...
  5. Replies
    31
    Views
    362

    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,...
  6. 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...
  7. Replies
    3
    Views
    260

    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...
  8. 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...
  9. Replies
    25
    Views
    5,236

    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...
  10. Replies
    12
    Views
    538

    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...
  11. Replies
    12
    Views
    538

    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. :-(
  12. Replies
    12
    Views
    538

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

    by top204
    Replies
    2
    Views
    225

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

    by top204
    Replies
    7
    Views
    49

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

    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...
  17. Replies
    6
    Views
    54

    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...
  18. Replies
    88
    Views
    199

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

    by top204
    Replies
    7
    Views
    49

    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...
  20. Replies
    88
    Views
    199

    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...
  21. Replies
    88
    Views
    199

    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...
  22. Replies
    88
    Views
    199

    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...
  23. Replies
    9
    Views
    77

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

    by top204
    Replies
    7
    Views
    49

    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,...
  25. Replies
    9
    Views
    77

    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...
  26. Replies
    31
    Views
    362

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

    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...
  28. Replies
    20
    Views
    377

    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...
  29. Replies
    3
    Views
    27

    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...
  30. 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...
  31. Replies
    20
    Views
    377

    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...
  32. Replies
    20
    Views
    377

    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...
  33. Replies
    20
    Views
    377

    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...
  34. Replies
    24
    Views
    150

    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,...
  35. Replies
    10
    Views
    43

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

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

    by top204
    Replies
    18
    Views
    248

    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...
  38. Replies
    8
    Views
    16

    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...
  39. Replies
    6
    Views
    21

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

    [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...
  41. Replies
    6
    Views
    21

    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...
  42. Replies
    6
    Views
    21

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

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

    by top204
    Replies
    13
    Views
    230

    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...
  45. 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 =...
  46. 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...
  47. 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...
  48. 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...
  49. 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...
  50. Replies
    8
    Views
    89

    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...
  51. Replies
    11
    Views
    61

    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,...
  52. 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...
  53. Replies
    11
    Views
    61

    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...
  54. Replies
    1
    Views
    14

    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...
  55. 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...
  56. 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.
  57. 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...
  58. Replies
    88
    Views
    199

    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.
  59. 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.
  60. Replies
    11
    Views
    61

    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...
  61. Replies
    4
    Views
    76

    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...
  62. Replies
    6
    Views
    24

    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...
  63. Replies
    16
    Views
    65

    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...
  64. Replies
    16
    Views
    65

    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...
  65. Replies
    5
    Views
    319

    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...
  66. Replies
    13
    Views
    73

    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...
  67. Replies
    16
    Views
    65

    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?...
  68. Replies
    16
    Views
    65

    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...
  69. Replies
    7
    Views
    25

    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...
  70. Replies
    8
    Views
    35

    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...
  71. 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...
  72. Replies
    8
    Views
    35

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

    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...
  74. Replies
    8
    Views
    35

    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...
  75. Replies
    8
    Views
    35

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

    Your IDE just gets better and better. Many thanks John.
  78. 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.
  79. 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...
  80. Replies
    88
    Views
    199

    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....
  81. Replies
    88
    Views
    199

    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...
  82. Replies
    21
    Views
    990

    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...
  83. 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...
  84. Replies
    4
    Views
    16

    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...
  85. Replies
    11
    Views
    437

    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...
  86. Replies
    11
    Views
    437

    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...
  87. 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...
  88. Replies
    2
    Views
    12

    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...
  89. Replies
    11
    Views
    83

    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...
  90. Replies
    11
    Views
    83

    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...
  91. Replies
    11
    Views
    83

    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...
  92. 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...
  93. Replies
    4
    Views
    23

    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...
  94. Replies
    4
    Views
    23

    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...
  95. Replies
    11
    Views
    83

    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...
  96. Replies
    4
    Views
    294

    Re: How to use timers in microcontroller

    Nice one Keytapper.
  97. 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...
  98. 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...
  99. Replies
    5
    Views
    20

    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...
  100. 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...
  101. 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....
  102. 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...
  103. 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...
  104. Replies
    5
    Views
    20

    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:



    '
    ' /\\\\\\\\\
    ' /\\\///////\\\
    ' \/\\\ \/\\\ /\\\ ...
  105. Replies
    4
    Views
    18

    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...
  106. Replies
    71
    Views
    1,162

    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...
  107. 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...
  108. 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...
  109. 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...
  110. Replies
    6
    Views
    12

    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. :-)
  111. Replies
    6
    Views
    12

    Happy Birthday Rick

    Many happy returns Rick (rcurl).

    I hope you have a wonderful day. :-)
  112. 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...
  113. Replies
    13
    Views
    127

    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...
  114. 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.
  115. Replies
    3
    Views
    10

    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...
  116. Replies
    9
    Views
    30

    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...
  117. Replies
    71
    Views
    1,162

    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...
  118. Replies
    71
    Views
    1,162

    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...
  119. Replies
    71
    Views
    1,162

    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...
  120. Replies
    71
    Views
    1,162

    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...
  121. 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...
  122. 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...
  123. 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...
  124. 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...
  125. Replies
    5
    Views
    10

    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,...
  126. Replies
    18
    Views
    36

    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...
  127. Replies
    10
    Views
    30

    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...
  128. Thread: FineLineIDE

    by top204
    Replies
    162
    Views
    33,744

    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.
  129. 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...
  130. Replies
    71
    Views
    1,162

    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...
  131. Replies
    4
    Views
    33

    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.
    ...
  132. 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...
  133. Replies
    71
    Views
    1,162

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

    by top204
    Replies
    11
    Views
    19

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

    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...
  136. Replies
    13
    Views
    474

    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,...
  137. Replies
    6
    Views
    265

    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...
  138. Replies
    71
    Views
    1,162

    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...
  139. 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...
  140. 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...
  141. 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...
  142. 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...
  143. 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...
  144. Replies
    34
    Views
    984

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

    by top204
    Replies
    4
    Views
    9

    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...
  146. Replies
    12
    Views
    38

    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...
  147. Replies
    71
    Views
    1,162

    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...
  148. Replies
    12
    Views
    38

    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...
  149. Replies
    71
    Views
    1,162

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

    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...
  152. Replies
    18
    Views
    46

    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...
  153. Replies
    10
    Views
    22

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

    by top204
    Replies
    4
    Views
    7

    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...
  155. Replies
    10
    Views
    22

    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....
  156. Replies
    9
    Views
    25

    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...
  157. Replies
    18
    Views
    46

    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...
  158. Replies
    18
    Views
    46

    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
    ...
  159. Replies
    18
    Views
    46

    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...
  160. 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...
  161. Replies
    9
    Views
    25

    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...
  162. 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...
  163. Thread: Code error

    by top204
    Replies
    2
    Views
    14

    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...
  164. Replies
    10
    Views
    22

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

    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:


    ...
  166. 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...
  167. Replies
    19
    Views
    21

    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...
  168. 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...
  169. Replies
    19
    Views
    21

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

    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.
  171. 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:...
  172. Thread: While ... Wend

    by top204
    Replies
    6
    Views
    3

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

    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...
  174. Thread: While ... Wend

    by top204
    Replies
    6
    Views
    3

    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...
  175. Re: Compile to HEX from Assembler plugin - HELP

    The Asm file produced by the compiler is complete so it does not require any other inc files etc, so it can simply be passed to the Mpasm assembler.

    One way is to:

    Open the directory...
  176. Replies
    14
    Views
    14

    Re: Toner transfer made easy .....

    One of the problems I always had with using transfers for making PCBs or the acid etch in general, was the drilling of them afterwards. :-) One mistake and the PCB was not quite right, and more...
  177. Replies
    14
    Views
    14

    Re: Toner transfer made easy .....

    It's always good to read about a person who has a passion for experimentation as I do.

    I've made PCBs since I was a boy. I first used the pen, then used the tapes, then the rub on transfer...
  178. Les has just uploaded Proton Compilers Full Installer - Proton 3.7.1.1 - Proton24 1.0

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

    Fixes and additions made in version 3.7.1.1 of the Proton Compiler

    Proton Correction
    Corrected...
  179. Replies
    1
    Views
    15

    Re: Matchbox-sized radar

    You have to take these items with a pinch of salt!

    Why, in the video was there no real navigations from the device, only computer simulations?

    Also, using 24GHz, it is line of sight, so it will...
  180. Les has just uploaded Proton Compilers Full Installer - Proton 3.7.1.0 - Proton24 1.0

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

    Fixes made in version 3.7.1.0 of the Proton Compiler and version 1.0.5.8 of the Proton24 Compiler
    ...
  181. [SOLVED !] Re: 12F683 help needed reading values from GP4 and GP5

    I've just created this code example to illustrate the GPIO pins being shadowed:




    '
    ' A simple program to show the states of pins on 2 LEDs and transmit serially in binary
    '
    Device =...
  182. Les has just uploaded Proton Compilers Full Installer - Proton 3.7.0.9 - Proton24 1.0

    Les has just uploaded Proton Compilers Full Installer - Proton 3.7.0.9 - Proton24 1.0.5.7!

    Fixes made in version 3.7.0.9 of the Proton Compiler and version 1.0.5.7 of the Proton24 Compiler
    ...
  183. Re: Prolem with 1 x 16 alpha LCD when connected on PortA

    George is correct. The 18F25K22 device does not seem to have any open drain pins, according to the datasheet.

    I've just tested this code on the Amicus18 board using a PIC18F25K22, and the LCD...
  184. Replies
    2
    Views
    80

    Re: sx1278 sample code

    I have a couple of SX1278 modules arriving for a third party project, so I'll see if I can get permission to release some of the library that I create for them on my Proton Google site.
  185. Replies
    1
    Views
    8

    Re: The Future of Microchip April 1 version

    Unfortunately, Microchip do very little development these days. They simply buy other companies designs and products and market them as their own. They are now a buyer of things, because that's where...
  186. Re: Using the Internal Fixed Voltage Reference as the +VREF of the ADC on a PIC18F25K

    Remember... pChannel is a parameter to a procedure so you do not change it within the procedure itself, just send the decimal value 14 to the procedure as the channel number. The shifting left of 2...
  187. Replies
    2
    Views
    12

    Re: Wifi proyect, better choice

    Maybe an ESP8266 board would be more suitable for you Gamboa.

    The really inexpensive modules have a standard AT serial interface and are full Wi-Fi. See here for a simple search I did on ebay:
    ...
  188. Thread: Usb - c

    by top204
    Replies
    9
    Views
    12

    Re: Usb - c

    Without the current limiting on USB, just wait for the thousands, if not millions, of computers to go bang when a peripheral gets damaged!

    It's a very stupid mechanism for an interface, and the...
  189. Using the Internal Fixed Voltage Reference as the +VREF of the ADC on a PIC18F25K22

    The compiler's manual does not mention the internal voltage reference because not all devices have it, and most families of devices implement it differently. It is not part of the compiler's...
  190. Les has just uploaded Proton Compilers Full Installer - Proton 3.7.0.8 - Proton24 1.0

    Les has just uploaded Proton Compilers Full Installer - Proton 3.7.0.8 - Proton24 1.0.5.6!

    Fixes made in version 3.7.0.8 of the Proton Compiler and version 1.0.5.6 of the Proton24 Compiler
    ...
  191. Thread: Anomaly for les

    by top204
    Replies
    7
    Views
    13

    [SOLVED !] Re: Anomaly for les

    Hello Maxim

    It is corrected. I'm sure I corrected it for version 1.0.5.5, but forgot to put it in the Whats New document.

    I have a new update coming soon for Proton and Proton24, so if I forgot...
  192. Replies
    3
    Views
    19

    Re: LookupL / lookup problem

    I've just ran some tests and I can see no problems now with Lookup or LookupL.

    I ran this snippet to test the functionality on that device. Declares and other bits not included in the code snippet...
  193. Re: Request for additional Procedures module feature

    Yes. I see what you mean George. Thanks for spotting it.

    I'll add a definite error for End Proc instead of EndProc. Just as happens in Proton24.
  194. Thread: 16f753 DAC

    by top204
    Replies
    11
    Views
    99

    [SOLVED !] Re: 16f753 DAC

    Look at the block of code:

    Repeat
    OSCCONbits_HTS = 1 ' Wait for oscillator stability
    Until

    It has no comparison in the Until directive, so it will form an infinite loop.
  195. Replies
    48
    Views
    4,657

    Re: mcp41*** Microchip Digital Pot

    Many thanks Gary. I do miss writing the articles on the Wiki etc and my few Christmas articles, but they do not generate money, so I cannot spend the time on them anymore unfortunately.

    I have a...
  196. Replies
    48
    Views
    4,657

    Re: mcp41*** Microchip Digital Pot

    My apologies if I sounded too harsh Alan. I used to buy Everyday Electronics as a boy, and dad used to buy Practical Electronics and Practical Wireless for us both to read.

    I offered a few years...
  197. Replies
    21
    Views
    24

    Re: 16 leds to drive, how?

    Tim

    If you are controlling the flow of water, why not have it through a constant stream mechanism and simply time how long the water is entering. Once the time is right that the water will reach...
  198. Replies
    48
    Views
    4,657

    Re: mcp41*** Microchip Digital Pot

    Thanks John

    I was reading this month's EPE (Now Practical Electronics) in WH Smith's and they had an article inside that still had the Australian dollars for the price of them. That shows the...
  199. Thread: cdata table

    by top204
    Replies
    8
    Views
    29

    Re: cdata table

    The value 256 is not an 8-bit value, so the compiler has changed the asm directive to .word:

    .byte 0xff,0xff,0xff,0xff
    ;[cdata_end]
    ;[cdata_start]
    .word 0xff,0xff,256,0xff

    8-bit...
  200. Re: Streaming the same audio track in real time to two different locations

    Because the final sound is going to come from a PA, CD audio quality or stereo is not a real issue.

    Why not use a LoRA tranceiver and simply transmit 12-bit or 16-bit audio data to another LoRA...
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4