Search Results - Proton BASIC community web site


Search:

Type: Posts; User: John Drew

Page 1 of 5 1 2 3 4

Search: Search took 0.07 seconds.

  1. Thread: Variable

    by John Drew
    Replies
    5
    Views
    404

    Re: Variable

    Helpful answer Steve, you explain things very clearly.
    I tried to give you a thumbs up but I might have done the reverse at which point I got confused and thought a note may be better :)
    John
  2. Replies
    7
    Views
    376

    Re: Support for 18LF26K22 and 18LF45K22

    My experience is to tell the compiler it is a F device and tell the programmer it is an LF device. That way both are happy.
    I still use MPLAB 8.92 for the programmer just in case that is important....
  3. Replies
    19
    Views
    617

    Re: PPS for 8bit Microchip Micocontrollers

    Evan, to date I haven't used an 8 bit device where I've had PPS.
    However it doesn't mean I won't. I never knock back a tool for the toolbox.
    Thanks for your support for Proton and anything that...
  4. Replies
    8
    Views
    211

    Re: 10Hz to 10KHz Frequency Generator

    Somewhere on the forum or the WIKI there is a timer calculator. If you can't find it send me a PM with an email address and I'll send you a copy. Using my phone at present and searches are a pain -...
  5. Thread: Hello

    by John Drew
    Replies
    2
    Views
    73

    Re: Hello

    Welcome to the forum Cemati.
    John
  6. Replies
    33
    Views
    459

    Re: Driver for ILI9341

    OK Flosi, unfortunately my display doesn't have IM pins available.
    I'll look forward to my next parcel.
    Cheers from Oz,
    John
  7. Replies
    33
    Views
    459

    Re: Driver for ILI9341

    Well I've triple checked all my connections and no luck with Les's code using parallel mode. As Flosi mentioned it probably requires all 16 bits address. I'm only using DB8-15 on the display so maybe...
  8. Replies
    33
    Views
    459

    Re: Driver for ILI9341

    Thanks Flosi and Bob,
    I hadn't considered that the SPI was just for the card. As often happens the advertisement was misleading.
    I needed SPI for a special project.
    While I'm waiting for some...
  9. Re: Phase offseting PWM to prevent noise on fans

    You may need 100nF across the input/output to help suppress frequency transients Tim.
    Just a thought.
    John
  10. Replies
    33
    Views
    459

    Re: Driver for ILI9341

    G'day all,
    I'm being driven mad by a supposed ILI9341 display ( 2.4TFT 240*320 V21_9341). I bought it as a ILI9325 but the label suggests it's a ILI9341. Maybe that's just a model number.
    I'm using...
  11. Re: dword to float changes, lost of accuracy

    Amateurtje,
    If you need greater precision use a 16 bit chip (e.g pic24fxxx) as the compiler supports 64 bit (8byte) floats in these and a significant improvement in accuracy.
    Just as an example as...
  12. Re: dword to float changes, lost of accuracy

    Greetings,
    You've come up against the accuracy limit of 4 byte float variables. You may be able to overcome your problem by making use of Integer division (div) and mod.
    There is an article on this...
  13. Replies
    31
    Views
    373

    Re: PIC 18F1330 HPWM problem

    Thanks Tumbleweed.
    Archi I hope that helps . You need to load those registers to get the correct pulse width.
    I have a visitor staying at present and can't help for a few days.
    John
  14. Replies
    31
    Views
    373

    Re: PIC 18F1330 HPWM problem

    I can't find PRx. The datasheet refers to PRx (presumably PR1 and Pr2 in Archi's case).
    Just trying to help Archi but not skilled enough.
    John
  15. Replies
    31
    Views
    373

    Re: PIC 18F1330 HPWM problem

    Archi is having trouble with setting up two independent PWM on the 16f1827. Has anyone had experience with this?
    From what I can see there are a couple of registers needed that are not described in...
  16. Replies
    31
    Views
    373

    Re: PIC 18F1330 HPWM problem

    Welcome back Archi.
    Have you tried an edit of the PPI file using Notepad?
    John
  17. Replies
    6
    Views
    45

    Microcap now free

    For any of you interested in using an integrated schematic editor and mixed analog/digital simulator the program Microlab is now free. It's owner has retired and decided to make it available free....
  18. Replies
    6
    Views
    40

    Re: Tester posting Binary Notation

    Test message using code


    GetMute:
    DelayUS 20 ' Charging time ADC
    MuteVal = ADIn 0 ' Pin 1 is ADC2 input @ 16F1827
    If...
  19. Replies
    20
    Views
    383

    Re: Playing with Procedures

    Tim's comments are spot on. I've never run out of variables. Like Tim I re-used bTemp1 etc within gosubs until Procedures came along.
    The current Procedure mechanism has made code easy to read and...
  20. Replies
    2
    Views
    31

    Star characters in emails from forum

    Lester,
    I can't remember if this is just a recent issue but I'm seeing "*" characters inserted into the emails.
    It only occurs when users have put
    and around their posts and the entries are...
  21. Replies
    20
    Views
    383

    Re: Playing with Procedures

    As a minnow in the sea of knowledge in this Forum it seems to me that a software stack is the most reliable way of introducing true local variables. I appreciate the obstacles such as size management...
  22. Replies
    20
    Views
    383

    Re: Playing with Procedures

    Yep, that's right George, sorry if I gave a wrong impression. What, only one mistake in 19. I passed that on January 2nd.
    John

    Try this:

    All_Digital =true
    Declare Xtal 10
    Declare LCD_Type 0 ...
  23. Replies
    20
    Views
    383

    Re: Playing with Procedures

    George, in that case why not just declare a global?
    Although that would mess up the easy reading of parameter passing.
    I think Les once suggested that one day he might work on real local variables...
  24. Replies
    20
    Views
    383

    Re: Playing with Procedures

    Greetings Alberto,
    You have a great knowledge of the compiler and finding a way to have real local variables is quite an achievement. In the past Les has explained his solution of pseudo local...
  25. Replies
    18
    Views
    260

    Re: SMS Number Save

    Great progress Gary.
    I am almost halfway between Adelaide and Melbourne near the coast. I love NZ. Been a couple of times and we might go again - we have 200,000 Qantas points to use up and we can't...
  26. Replies
    18
    Views
    260

    Re: SMS Number Save

    Two and a half hours - we're into daylight saving now. Body is still adjusting.
    I'm in the south east corner of South Australia.
    John
  27. Replies
    72
    Views
    406

    [OFFER] Re: Proton MKII Development Board

    Lester, I'm happy to pay the extra for my package. You shouldn't be out of pocket and packaging also takes time.
    Let me know, it won't break me.
    I also wouldn't mind more Amicus boards if...
  28. Replies
    6
    Views
    40

    Re: Tester posting Binary Notation

    Valid points Stephen, especially for word or dword.
    However I do find it easier when setting registers from the datasheet to use binary. The grey cells struggle to visualise a hex digit into its 4...
  29. Replies
    6
    Views
    40

    Re: Tester posting Binary Notation

    Now another one using preview


    TRISA = 000011
    TRISB = 110001 ' Quadrature inputs, Int0
    TRISC = 000000

    and another line

    So the moral of the...
  30. Replies
    6
    Views
    40

    Re: Tester posting Binary Notation

    Here's a test without previewing


    TRISA = %00000011
    TRISB = %00110001 ' Quadrature inputs, Int0
    TRISC = %00000000


    another line for testing
  31. Replies
    18
    Views
    260

    Re: SMS Number Save

    Hi Gary,
    You create a string like this:
    Dim MyString as String * 20
    You have created a byte array. The difference is that a string has a character 0 at the end of the data which signifies the end...
  32. Replies
    8
    Views
    19

    Re: Posting Binary Notation

    Aha, that's why, thanks
  33. Replies
    8
    Views
    19

    Re: %00110011

    This is a rest

    %00110011
    %10110110
    Test
    More
    Add another line
  34. Replies
    18
    Views
    260

    Re: SMS Number Save

    Sounds like you're having fun Gary.
    I'm experimenting with an Amicus18 from the same source. Still found time to mow the lawns and keep in the good books with the wife :)
    John
  35. Replies
    24
    Views
    156

    Re: New Prusa mini 3D printer

    Looks a bit flimsy for high accuracy.
    John
  36. Replies
    8
    Views
    19

    Re: %00110011

    Magic touch.
    I've had the problem happen to me. I wonder if it's when we cut and paste. I'll check tomorrow, on my phone now.
    John
  37. Replies
    18
    Views
    260

    Re: SMS Number Save

    Hi Gary,
    Forgive me if I'm telling you what you already know.
    All information in a micro is stored in binary. It is just the viewing device that makes it look like hex or decimal or ASCII.
    That is...
  38. Replies
    8
    Views
    19

    Re: %00110011

    How did you make that work Lester?
    John
  39. Re: Trying a procedure, but errors I found

    That is amazing Les, and it suppports so many devices.
    For we users it's like the swimming duck. Calm on the surface and paddling like mad below.
    John

    PS Les and I were typing at the same time....
  40. Replies
    10
    Views
    44

    Re: Serin baud rate / clock dependency?

    Responding to post 5 and the last comment, you won't have any trouble achieving 300 baud. The limits come in at high speeds, not low speeds.
    John
  41. Replies
    72
    Views
    406

    [OFFER] Re: Proton MKII Development Board

    OK, thanks Lester. I'm into graphic displays at present so any info on the board with the graphic display would be appreciated.

    edit: the board doesn't seem to have a label but it has a serial...
  42. Replies
    72
    Views
    406

    [OFFER] Re: Proton MKII Development Board

    G'day Lester,
    Box arrived today. thanks very much. Some great boards in there and a small number that are a mystery - but that's half the fun.
    I've bought in some PIC18F26K22 so will find the...
  43. Replies
    3
    Views
    25

    Re: Comeback post

    I very much doubt that your account would ever be deleted Shantanu. :)
    John
  44. Replies
    33
    Views
    459

    Re: Driver for ILI9341

    Disregard this post Flosi,
    My directory path/names exceeded some sort of limit in the assembler. As soon as I shortened things down all compiles fine...
    John


    Hi Flosi,
    I tried to compile your...
  45. Replies
    72
    Views
    406

    [OFFER] Re: Proton MKII Development Board

    Thanks Johan, that made for an easier download.
    John
  46. Re: Perhaps one small step to popularise Proton

    One of the first things I do when purchasing something is to look for a review. A quick search showed just one and that referred to the 50 line limit of the free edition of many years ago.
    I for one...
  47. Replies
    8
    Views
    96

    Re: Pic18f25k20 + module i2c (pcf8574)

    The other advantage of Hbusout/in is they have small hardware buffers and interrupts.
    I've used both the 8574 and the MCP23017 (16 ports ) with WIKI software for Lcd and for both inputs and...
  48. Replies
    13
    Views
    81

    Re: SD File System revisited

    Hi Alberto,
    Procedures are so much easier to understand when looking at another's code. I've always found macros a bit of a mystery, but that's just me.
    So next project bite the bullet and have a...
  49. Replies
    19
    Views
    47

    Re: One mans meat is another mans poison

    I'll try on the computer tomorrow. Not so easy to read using my phone.
    John
  50. Replies
    88
    Views
    209

    Re: Les's ILI9325 Wiki code

    Thanks for the reply Flosi.
    I might not have been clear that as well as running the touch I want to run the display from SPI. I know that will have speed problems.
    John
  51. Replies
    88
    Views
    209

    Re: Les's ILI9325 Wiki code

    I'm waiting on my ILI9325 2.4" display. For a development of a project I want to use the graphic display with touch.
    Speed is not important, it will have a touch numeric keypad and a line or two of...
  52. Replies
    72
    Views
    406

    [OFFER] Re: Proton MKII Development Board

    Hi Lester,
    I would appreciate one please.
    I will PM my address and my email.
    Regards
    John
  53. Replies
    19
    Views
    47

    Re: One mans meat is another mans poison

    All understood, thanks Lester.
    John
  54. Replies
    19
    Views
    47

    Re: One mans meat is another mans poison

    I didn't explain myself very well Lester. When using my phone at night (I'm pretending to watch TV and keep my wife company) keystrokes are a pain so brevity wins out.
    Previously (i.e. prior to your...
  55. Replies
    16
    Views
    68

    Re: The Proton manual

    The ABC network here in Oz used Betamax recorders in the field for quite some time after they had disappeared from domestic sale. I think it was for quality reasons and maybe weight. But I could be...
  56. Replies
    19
    Views
    47

    Re: One mans meat is another mans poison

    Lester, it behaved in the same way as the usual url
    John
  57. Replies
    19
    Views
    47

    Re: One mans meat is another mans poison

    Hi Lester,
    The list of unread posts that used to be available when browsing a thread have gone. I usually hit "What's New" to get me started and then click on the threads showing above the post I...
  58. Replies
    5
    Views
    396

    Re: Newbie to the forum!

    Greetings Ivan and welcome back.
    Make sure you download the latest version of PDS, Les has added Procedures and I'm sure you'll find them a great addition.
    Best wishes
    John
  59. Replies
    11
    Views
    48

    Re: SSD1306 lcd problem

    That's an interesting point.
    I've only used 32MHz so maybe you've identified the issue for 64MHz.
    John
  60. Replies
    11
    Views
    48

    Re: SSD1306 lcd problem

    Have you checked the i2c address is correct.
    I have two the displays working with Dompie's code.
    John
  61. Replies
    16
    Views
    68

    Re: The Proton manual

    I noticed the same thing George. It was definitely possible in years gone by.
    Maybe it's because of the PDF editors out there that could create altered manuals. Les?
    John
  62. Replies
    88
    Views
    209

    Re: Les's ILI9325 Wiki code

    The Silicon Chip Backpack was a bit more sophisticated. It used a pic32 programmed with a BASIC interpreter. Programs could be loaded serially using any old serial editor.
    As well as addressing a...
  63. Replies
    6
    Views
    52

    Re: New CAN Library

    Bob,
    Microchip have freight free at present. Have a look at MicrochipDirect.
    John
  64. Replies
    88
    Views
    209

    Re: Les's ILI9325 Wiki code

    Hi Charlie,
    Many of those with different sizes share a ILI9325. So I was hoping it was just the size of the pixels.
    I'm hoping to produce a PDS equivalent of the LCD BackPak (Silicon chip articles)...
  65. Replies
    88
    Views
    209

    Re: Les's ILI9325 Wiki code

    G'day charlie,
    Do I read you correctly, you'll produce a list of tested graphic displays, their driver chips and a corresponding list of the Proton drivers that work with them?

    That would be very...
  66. Replies
    88
    Views
    209

    Re: Les's ILI9325 Wiki code

    G'day Charlie and Flosi,
    Well done on success. I reckon the more articles the better. It all helps with our understanding
    I got bored watching TV last night and did some searching and found a 2.4...
  67. Replies
    88
    Views
    209

    Re: Les's ILI9325 Wiki code

    Charlie, in some code I have for controlling an audio recorder I set that pin low before sending a command and then set it high after each command. Basically a chip select function I guess.
    So fits...
  68. Re: Philips RC5_Toggle Bit and Pulse Timings

    Unfortunately I don't know enough to help. There are others on the forum who have used the protocol so hopefully they will contribute when they see this thread.
    Is it imagination but the lower...
  69. Re: Philips RC5_Toggle Bit and Pulse Timings

    The RC5 system is very well described in Wikipedia. The timings in the article could be a good place to start.
    As you know most remote controller failures are in the buttons that lose their carbon...
  70. Replies
    88
    Views
    209

    Re: Les's ILI9325 Wiki code

    Les, thanks for the link to the display. As soon as I get home I'll buy one and use a p24.
    The good thing is I'll be able to experiment on Charlie's coat tails.
    John
  71. Replies
    88
    Views
    209

    Re: Les's ILI9325 Wiki code

    Thanks Charlie and Flosi,
    I looked at the link and the display connections look complicated, does it have a flexible connector?
    I think SPI would be better for my applications as I seem to always...
  72. Replies
    88
    Views
    209

    Re: Les's ILI9325 Wiki code

    Charlie, just out of curiosity, what kind of display is it?
    I've successfully used the 0.96inch displays and they are very good all things considered but I've been tempted to experiment with 2.4 or...
  73. Replies
    9
    Views
    33

    Re: CWRITE and 18F25K50

    From an 18F datasheet, not the one you're using.

    A read from program memory is executed on one byte
    at a time. A write to program memory is executed on
    blocks of 64 bytes at a time. Program...
  74. Replies
    21
    Views
    1,126

    Re: 3x4 alpha numeric keypad

    4X4 keypads are easily obtained from eBay at very cheap prices.
    John
  75. Thread: Test

    by John Drew
    Replies
    2
    Views
    10

    Re: Test

    Welcome to the forum KrysG
    John
  76. Replies
    11
    Views
    497

    Re: UART and USB Issues with PIC18F97J94

    G'day Malcolm,
    Les seems to read most posts but the best way to contact him is through the Anomaly section of the forum.
    To identify the problem he needs to have a short Proton program that...
  77. Replies
    4
    Views
    23

    Re: Stupid things I dun today

    Reminds when I was young I had a Vauxhall Wyvern car. It was always burning its points. After cleaning the points it often wouldn't start because I forgot the little rotor arm under the distributor...
  78. Replies
    71
    Views
    1,417

    Re: Proton Compiler Button Toggle Procedure

    In your subroutine replace the Goto line at the end of each subroutine with the word 'Return'.
    John
  79. Replies
    4
    Views
    364

    Re: How to use timers in microcontroller

    The first thing to do is to download the datasheet for the processor you are using.
    Next, read the section on timers many times until you understand how they work.
    When you understand this you will...
  80. Replies
    13
    Views
    139

    Re: TX/RX with CC1101 Texas

    Whoops :)
    John
  81. Replies
    13
    Views
    139

    Re: TX/RX with CC1101 Texas

    Hello Giuseppe
    Comments are not allowed after $Define
    There's a good reason for it, I think it's tied in with the pre-processor.
    John
  82. Replies
    9
    Views
    31

    Re: Using procedures, best practices

    Using an example to expand on Les's explanation.
    If you have a procedure called "BigLongNameProcedure" (20characters) and you have a local variable called "BigLongnameVariable" (19 characters) then...
  83. Thread: Oh dear.....

    by John Drew
    Replies
    3
    Views
    23

    Re: Oh dear.....

    Can't help with the password David, but great to see you back. We missed your knowhow.
    John
  84. Replies
    71
    Views
    1,417

    Re: Temperature Controller Problem

    Amod,
    Fuse configurator can be found in the files section.
    http://www.protonbasic.co.uk/vbdownloads.php?categoryid=3
    John
  85. Replies
    71
    Views
    1,417

    Re: Temperature Controller Problem

    Amod,
    Three things for you to keep in mind
    1) when declaring TRIS use binary as it makes easy to see which ports you are setting as inputs
    2) put comments into your code so you know what you are...
  86. Replies
    71
    Views
    1,417

    Re: Temperature Controller Problem

    Amod, you are setting portd.0 as an input but testing portd.7
    Look up TRIS in the manual.
    John
  87. Replies
    13
    Views
    139

    Re: TX/RX with CC1101 Texas

    Hi Giuseppe
    I see there is some code for an Arduino on this site. It might give you a start.
    https://www.elecrow.com/wiki/index.php?title=433MHz_RF_Transceiver_CC1101_Module
    John
  88. Replies
    5
    Views
    12

    Re: Correct terminolgy

    I see that Les refers to signed and unsigned variables. So that confirms Tumbleweed's reply. I guess it's logical that the inverse of signed is unsigned.
    John
  89. Replies
    5
    Views
    12

    Re: Correct terminolgy

    How about "positive integer" George?
    John
  90. Replies
    4
    Views
    36

    Re: LCD display module HT1621

    Les, procedures make it very easy to follow code not like the C example posted which was a tangled mess.
    It's a shame that the word BASIC implies elementary. Protonbasic is far from that.
    John
  91. Re: Programmer does not recognize a target device

    I think you are on the right track Stephen. I do remember that when I was charging my phone (or accessing its files)
    I had more of these voltage issues. Maybe my computer USB socket(s) is one of...
  92. Re: New Microchip 16 to 24 bit high speed A/D converters

    Norm,
    I can't help but wonder at the technology to do so much in a tiny 20 pin package. It is an amazing leap from the valve days where I started when to achieve a similar thing may have taken an...
  93. Re: Programmer does not recognize a target device

    Good point George.
    I have a little diecast box with several ZIF sockets that I use to program devices for customers. It has no power supply and no power drain apart from the ICSP. Perhaps I it...
  94. Re: Programmer does not recognize a target device

    Yes Fanie,
    I thought it was my old bones shaking but it was the whole darn continent moving (No, it's not what you're thinking - I'm past that). I hope we're not leaving Tassie behind, they get left...
  95. Re: Programmer does not recognize a target device

    Fanie, I sometimes have that problem with my pickit 3.
    If I reduce the programming voltage to 4.85V it works.
    No idea why.
    John
  96. Replies
    23
    Views
    32

    Re: #ELSE has no blue backcolor

    I'll leave it Puffeltje, Thanks for the guidance.
    John
  97. Replies
    6
    Views
    15

    Re: Floating point strangeness

    I agree with Tumbleweed.
    This needs an anomaly report.
    John
  98. Replies
    4
    Views
    9

    Re: Android file access from PC

    Thanks Gamboa,
    I'll experiment.
    John
  99. Replies
    23
    Views
    32

    Re: #ELSE has no blue backcolor

    To delete just your messages in the thread would leave responses just hanging mysteriously with no connection to comments you've made. The thread belongs to another person who started it. So unless...
  100. Replies
    4
    Views
    9

    Re: Android file access from PC

    I use MyPhoneExplorer for keeping my contacts, calendar etc synced with Outlook. Means there's always a back up of the data.
    I've not tried to access files via WiFi only used USB.
    I don't have WiFi...
  101. Replies
    23
    Views
    32

    Re: #ELSE has no blue backcolor

    Well it is the case on my computer. Are you using the most recent version of Proton Studio?
    Proton Studio 1.0.2.3


    John
  102. Replies
    23
    Views
    32

    Re: #ELSE has no blue backcolor

    Yes, it saves files and if you have changed a file and you try to shut Proton Studio down it warns if you want to save files. I think maybe you haven't told the program where to save the files and it...
  103. Replies
    23
    Views
    32

    Re: #ELSE has no blue backcolor

    JOHNGB is unavailable at present. When he is I'm sure he will see your post and fix the problem.
    John D
  104. Replies
    44
    Views
    1,178

    Re: Boot loader woes.

    Sounds like you've identified why things are unreliable.
    In your setup of the registers do you have mclr ON. Is low voltage programming off?
    4k7 sounds fine. I've never seen mclr behave like that,...
  105. Replies
    44
    Views
    1,178

    Re: Boot loader woes.

    Before you connect USB are you sure there is Vdd and Vss on the correct pins?
    John
  106. Replies
    44
    Views
    1,178

    Re: Boot loader woes.

    That shouldn't happen if your board is correctly wired. I suggest you check your hardware.
    John
  107. Replies
    71
    Views
    1,417

    Re: Temperature Controller Problem

    Amod, put your best effort In a post and there may be someone who can see where you are going wrong.
    John
  108. Re: Les has just uploaded Proton Compilers Full Installer - Proton 3.7.1.7 - Proton24

    Les, I notice the fix concerning symbols below 0.5 being rounded to 0.
    I use:
    Symbol Rad = 0.01745329
    to convert degrees to radians in many places in a complex program and it works. Was this fix...
  109. Replies
    34
    Views
    1,150

    Re: i need help for 12F1571 pwm

    I've updated the article and corrected a couple of errors. Thanks fellas.
    John

    http://www.protonbasic.co.uk/content.php/219-Floating-point-issues-and-alternatives
  110. Replies
    34
    Views
    1,150

    Re: i need help for 12F1571 pwm

    Thanks for the clarification Les.
    I'll revisit the article. It seems that for Proton 8bit the 23 bit mantissa is all that is available.
    The current system works adequately so I reckon improvements...
  111. Replies
    34
    Views
    1,150

    Re: i need help for 12F1571 pwm

    G'day Tumbleweed,
    You're right there is an error. I think the correct value is 16777215 (2^24-1). I'll do an adjust to the article when I get the chance. I believe in the IEEE754 standard the first...
  112. Replies
    34
    Views
    1,150

    Re: i need help for 12F1571 pwm

    Somewhere in the WIKI there is an article on floating point maths where this is all explained. I wrote it quite a few years back and it includes a section on using integers to achieve greater...
  113. Replies
    71
    Views
    1,417

    Re: Temperature Controller Problem

    It's better to stick to one compiler otherwise everyone including yourself will get confused.
    John
  114. Replies
    4
    Views
    11

    Re: dword Aliases

    I wrapped it in code for you Jez so it's easier to read.
    Use "Go Advanced", highlight your code, then click the hash icon.
    John
  115. Replies
    71
    Views
    1,417

    Re: Temperature Controller Problem

    Amod, which compiler are you using? You have "PAUSEus 4000".
    Delays in PDS use delayus or delayms.
    John
  116. Replies
    44
    Views
    1,178

    Re: Boot loader woes.

    Hello Francis, I think the problem is that most of us don't use bootloaders.
    Hang in there.i know it doesn't get easier as we get older, it just takes longer but it's also the best way to stave off...
  117. Replies
    12
    Views
    40

    Re: clear and interrupt handler - problem?

    A near miss Stephen :)
    Good question George. My gut says no, but if it didn't what's the point of it. So I'm ignoring the gut and putting money on it does.
    We may have to wait for the master - or...
  118. Replies
    12
    Views
    40

    Re: clear and interrupt handler - problem?

    I haven't checked but I thought it was something like this:
    Dim bVar = 5 as byte
    I probably have it wrong as using my phone to post.
    John
  119. Replies
    71
    Views
    1,417

    Re: Temperature Controller Problem

    As described previously you can either
    1) sample say 10 times each input from the A/D then assign a Word variable such as Value =0. Then Value = Value + NewAD for 10 samples then divide by 10....
  120. Replies
    2
    Views
    21

    Re: List of Supported Chips

    Simon, okay on the missing letters.
    There are two listings on the forum.i created one of them after writing a program in Delphi to find the device names in my devices directory.
    I'm using my phone...
  121. [SOLVED !] Re: 12F683 help needed reading values from GP4 and GP5

    I may have accidentally hit the closed button. It should be re-opened now.
    John
  122. [SOLVED !] Re: 12F683 help needed reading values from GP4 and GP5

    I don't think the optimiser supports 12F chips so try removing that statement.
  123. [SOLVED !] Re: 12F683 help needed reading values from GP4 and GP5

    I can't see where you've set the TRIS register.
    John
    On my phone so might have missed it.
  124. Replies
    7
    Views
    6

    Re: pic16f689 tx problem

    Have you put a CRO on the TX pin Harm?
    John
  125. [SOLVED !] Re: 12F683 help needed reading values from GP4 and GP5

    Hello Commandeur83
    Although you are using the latest version of PDS if you want to use Procedures you need to purchase the Procedure version.
    It is not very expensive and activates Procedures. You...
  126. Replies
    23
    Views
    828

    [SOLVED !] Re: Help for Fatigue testing controller

    With your hardware connection is the other side of your LEDs going via a resistor to ground or to +5V ?
    John
  127. Re: Prolem with 1 x 16 alpha LCD when connected on PortA

    Just an aside Yves, some 1x16 LCD displays are strange in that the first 8 characters are line one while the characters 9-16 are on line two.
    I know your LCD isn't one of them but someone seeing...
  128. Thread: 16f753 DAC

    by John Drew
    Replies
    11
    Views
    108

    [SOLVED !] Re: 16f753 DAC

    Maybe not the cause but the optimiser is not guaranteed with pic16f. Worth a try to remove it.
    John
  129. Replies
    48
    Views
    4,660

    Re: mcp41*** Microchip Digital Pot

    Good points Alan, thanks for the clarification. It's important that IP is protected
    John
  130. Re: Streaming the same audio track in real time to two different locations

    I hadn't considered the best way to do it. I imagine that the audio wouldn't need to be HIFI for the lights so maybe it might work by direct transfer but I don't really know. If I was designing it I...
  131. Re: Streaming the same audio track in real time to two different locations

    Did you consider the XBEE Pro on 900MHz. Licence free and reasonable power out.
    Less prone to interference and they are spread spectrum. A number can also be setup as a self healing system if...
  132. Re: Streaming the same audio track in real time to two different locations

    David's idea is a good one, however the antenna in the link is very poorly designed RF wise. Nicely made mechanically though.
    Boom diameter/cross section is far too large for the length of the...
  133. Replies
    48
    Views
    4,660

    Re: mcp41*** Microchip Digital Pot

    Les,
    Once you have a subscription you then have full access to articles in pdf form. Or more correctly, whenever I've wanted a file it's been available so I assume it's all available.
    I'll do a...
  134. Replies
    48
    Views
    4,660

    Re: mcp41*** Microchip Digital Pot

    OK Harm, will do. Might take me a couple of days to get it done.
    John
  135. Re: Les & Tim modified version of serial buffer. Error ...(__HRSIN1__)

    Les,
    You'll probably pick it up but I think Gamboa spotted an omission in the error handling. This is separate from Leo's issue.
    John

    _UART_ERROR:
    movf RCREG ' Clear Framing...
  136. Replies
    48
    Views
    4,660

    Re: mcp41*** Microchip Digital Pot

    Hello Harm,
    Silicon Chip seem to have quite a thing going with Theremins.
    After the 2009 issue there are the following articles:
    Sept/Oct 2014 Arduino based digital Theremin,
    January 2017 Giving...
  137. Replies
    4
    Views
    18

    Re: Forum withdrawal

    I was across the border in the State of Victoria, we are often at friendly war so I just assumed that South Australia had won and Victorians had been cut off from the rest of the world :)
    They...
  138. Replies
    48
    Views
    4,660

    Re: mcp41*** Microchip Digital Pot

    I would have trouble just standing still for that length of time but my shaky hands would be great at the tremelo.
    Silicon Chip magazine has produced a couple of Theremin designs.
  139. Replies
    17
    Views
    904

    Re: VL53L0X laser-ranging sensor

    Thanks Ricardo, that is far too great an error. I can do that well (or better) just by looking at the bowls.
    It seemed a great idea at first. I'm following up on Craig's suggestion before I give up....
  140. Replies
    17
    Views
    904

    Re: VL53L0X laser-ranging sensor

    Thanks Craig, I have sent them an enquiry. We'll see what happens. Thanks for the tip. Some of the bowls are black so that may not be a good colour and the measurements are usually made in the sun or...
  141. Re: Error[113] ... Symbol not previously defined (__HRSIN1__)

    Hi Leo,
    I'm just an ordinary user but of course I will look at the code for you.
    I will send you a PM with my email address.
    John
  142. Re: Error[113] ... Symbol not previously defined (__HRSIN1__)

    Hi Leo,
    I forget exactly but some years back it was necessary to put Declare in front of some declarations that previously didn't need the word. That may be the problem.
    John
  143. Replies
    17
    Views
    904

    Re: VL53L0X laser-ranging sensor

    Les, I see you have it working.
    I have a possible application.
    I play lawn bowls and I often need to measure the distance between the Jack and two bowls. The bowls are of many different colours....
  144. Replies
    48
    Views
    4,660

    Re: mcp41*** Microchip Digital Pot

    Is this when you are visiting Oz, Charlie?
    John
  145. Replies
    38
    Views
    696

    Sticky: Re: PICKitPlus Forum

    You are not the first to be confused Evan.

    Lester Wilson is the person who provides us with this Forum and whose company sells PDS.

    Les Johnson is the writer of Proton and the person who helps...
  146. Replies
    9
    Views
    20

    Re: PIC24FJ64GB004 To A 2x16 Alpha LCD ?

    Craig, I found some 5v LCD worked with a direct connection, others didn't so I bought 3v3 LCDs. They are cheap enough on eBay and a much easier solution than an extra chip. Depends if your board is...
  147. Replies
    9
    Views
    20

    Re: PIC24FJ64GB004 To A 2x16 Alpha LCD ?

    Craig, is the micro running off 3v3 to a 5v LCD?
    John
  148. Replies
    16
    Views
    30

    Re: Software to configer Fuses

    Gerard, you are very welcome here and we understand that many of our users are not English speakers. We'll do our best to understand your English or you might try Google Translate, it works very...
  149. Replies
    20
    Views
    46

    Re: Use of the Proton 3.7.0.3 version

    Bob, I didn't comment on the email comment.
    Each upgrade is personalised and my guess is that it may be part of the encryption but that's just a guess. As I see it, it's affirmation it's your...
  150. Replies
    20
    Views
    46

    Re: Use of the Proton 3.7.0.3 version

    Hi Bob,
    Just a general strategy I use, whenever there is a full install available I uninstall old versions.
    If you've already installed 3.7.0.3 then you just need the upgrade and run it.
    Les is...
  151. Replies
    20
    Views
    46

    Re: Use of the Proton 3.7.0.3 version

    Upgrade went smoothly on both my machines - one W10 32bit and the other W10 64bit.
    Once you've made the donation you receive a link for download of the upgrade.

    1) uninstall old version
    2)...
  152. Replies
    5
    Views
    21

    Re: Microstick-II

    Bob,
    I think the setting up is the hard part. To get going I pinched this code from one of Les's samples.
    John



    Device = 24HJ128GP502
    Declare Xtal = 79.23
    TRISB = 00000000000000
  153. Re: johngb has just uploaded Proton Studio Update 1.0.2.0!

    I agree with George, it's a great plug in Dave.
    Fuse Configurator and PDF Now are my most used.
    The recent problems with PDF Now are, for me, to do with Adobe PDF Reader. Adobe keep messing with...
  154. Re: Preview of updated Proton Compiler Manual

    Thought that might be it. I'll go back to that section, a couple of added words may clarify. The example you used was a 16F877 so it was a very old statement.
    Just got home from a meeting. I'm on my...
  155. Re: Preview of updated Proton Compiler Manual

    Les, while I'm going through the manual I came across that for arrays it is preferable that they be placed in the first bank0. How does this work if they are defined as a parameter in a procedure...
  156. Re: Preview of updated Proton Compiler Manual

    Thanks Lester,
    It's been a few weeks since I did anything and to be honest I was feeling a bit guilty about it.
    Glad you've got an automatic system up and running. It certainly seems to be working...
  157. Re: Preview of updated Proton Compiler Manual

    Les has a location where contributions can be made by existing users and we should all contribute if we want the new version. It's only fair.
    Although we should wait for advice from Les about this -...
  158. Re: Tesla acquires Maxwell for dry electrode technology?

    I enjoyed and learned from your input Michael. The big deal is range and cost. I noticed in a Youtube video that the person from USA was quoting 5c/kWh for electricity costs. In Australia we're...
  159. Re: Preview of updated Proton Compiler Manual

    G'day Les,
    I've read through the new sections and the addition of procedures will really help me tidy up my code. As you may remember I've often wished for a procedural approach. I know subroutines...
  160. Replies
    16
    Views
    30

    Re: Software to configer Fuses

    Now you're telling fibs George, you used a question mark beautifully.
  161. Re: Tesla acquires Maxwell for dry electrode technology?

    A lot of those early diesels would go for a million kms without taking the head off. Nissan's and Toyota's engines were especially good and you could see the engine when you lifted the bonnet. ...
  162. Re: Tesla acquires Maxwell for dry electrode technology?

    I agree with Ken, an interesting discussion. I had a drive of a Jaguar iPace the other day. No, I'm not going to spend $140,000 on a car, but I've got to say it was a really great car to drive with...
  163. Replies
    16
    Views
    30

    Re: Software to configer Fuses

    Hello Gerard,
    You are doing it the hard way. Use Pic Configurator and it's done for you. I reckon it's the most used plugin for PDS.
    Best wishes
    John
  164. Re: How many digit after the comma a negative float variable can take

    The 64 bit floats in Proton 24 work a treat and give great accuracy. The orbit of the moon is really complex and there are hundreds of lines of code so accuracy is critical. The moon is is one of the...
  165. Re: How many digit after the comma a negative float variable can take

    Yves,
    The important thing to understand is Significant Figures.
    The accuracy of floating point maths available in PDS runs out after 6 or 7 significant figures.
    Look up "Rules for significant...
  166. Replies
    37
    Views
    43

    I dont belive it ! Re: Back in time looking good !

    Wow Rick, you wouldn't want to be within 5 km of the operating antenna or you'd exceed your radiation limit for the next 10 years.
    One of my amateur friends lived on a broadcast band site back in...
  167. Replies
    37
    Views
    43

    I dont belive it ! Re: Back in time looking good !

    Les
    Those horizontal output valves worked a treat as final amplifiers on RF. One well known YAESU amateur transmitter used four of them. I think they were 6DQ6. They used relatively low voltages -...
  168. Replies
    37
    Views
    43

    I dont belive it ! Re: Back in time looking good !

    David, I used a pair of 807s in a class B amp for amplitude modulating a 6146 on 80,40 and 20 metres. You're right you had to watch the caps with 600V on them.
    Previously, as a youth I made a...
  169. Replies
    8
    Views
    4

    Re: Replace existing async with sync

    I know this a bit off track (sorry George) but i love the interrupt provided by a peripheral. It means faster code and happily coexists with other interrupts and has an inbuilt buffer. It's very...
  170. Replies
    37
    Views
    43

    I dont belive it ! Re: Back in time looking good !

    Ah, memories.
    The boy's used to hang around by the door if they hadn't driven 300 yards down the road for a beer (legal requirement for no alcohol within 300 yards of a dance hall) while the young...
  171. Replies
    37
    Views
    43

    I dont belive it ! Re: Back in time looking good !

    I liked the music you could old time dance to and hold the girl close rather the girl being 3ft away jiggling by herself.
  172. Replies
    10
    Views
    21

    Re: Floating point addition problem

    G'day Colin,
    Have a read of this article in the WIKI.
    http://www.protonbasic.co.uk/content.php/219-Floating-point-issues-and-alternatives
    It talks about the issue.

    I have attached my...
  173. Replies
    10
    Views
    21

    Re: Floating point addition problem

    Tumbleweed has the answer to your problem.
    There is an article in the WIKI somewhere that describes the issue and work arounds such as using integers.
    John
    VK5DJ

    PS Change to a 16 bit chip...
  174. Replies
    11
    Views
    36

    Re: Ethernet to RS232 converter

    George, here is an excerpt from the help file I provided for people when using the WIZ110-SR. They are still quite expensive.
    I did find my Delphi program for remote computer operation of a PIC(r)...
  175. Replies
    11
    Views
    36

    Re: Ethernet to RS232 converter

    George,
    Remember no but at the time I wrote a Delphi program to do it and I still have code..
    Later today I'll track it down, look through it to jolt the memory then send you the source if you...
  176. Replies
    11
    Views
    36

    Re: Ethernet to RS232 converter

    Used a similar module some years back to control an antenna pointing system remotely.
    Worked well. If interested I'll track down the module, it's in the shed somewhere I reckon it was quite a bit...
  177. Replies
    6
    Views
    105

    Re: GPS speed logger for RC planes.

    G'day David,
    Hope it's OK with you. I promoted the post as an article in the Wiki. See Example Code/GPS
    It's too good to get lost in the forum.
    Cheers
    John
  178. Replies
    26
    Views
    45

    Re: Valid time in NMEA sentance

    @George
    Thanks for the timing diagram. Hopefully it's a standard. I can work with that although as Bob said, not all modules have the 1 sec pulse. Two of mine don't. In amateur radio circles there...
  179. Replies
    26
    Views
    45

    Re: Valid time in NMEA sentance

    Good point Bob. So is the pulse before or after the NMEA.
    John
  180. Replies
    26
    Views
    45

    Re: Valid time in NMEA sentance

    When is the time really correct to the atomic standard at the satellite. Is propagation time taken into account by the receiver, is computation time taken into account, what about which sentence and...
  181. Replies
    18
    Views
    42

    Re: I'm over the moon with joy. :-)

    Thanks Les, curiosity satisfied.
    John
  182. Replies
    18
    Views
    42

    Re: I'm over the moon with joy. :-)

    You beauty! Something I'd hoped would happen one day. Looking forward to contributing so I can use this version.

    Question: Once a procedure has been used in a program is the variable declared in...
  183. Thread: Barking dog

    by John Drew
    Replies
    13
    Views
    34

    Re: Barking dog

    Thanks everyone for your support.
    You're right about the owner issue Fanie. Not the dog's fault. Unfortunately it's a big dog with a big bark.
    I think my mate hopes to train the dog and punish the...
  184. Replies
    5
    Views
    10

    Re: Why are LCD monitor so cheap

    Yep, I wisely decided not to comment too much. The young player seemed surprised he had won. Oh well, today's news wraps tomorrow's fish and chips. I might get to watch one of my programs tonight...
  185. Replies
    5
    Views
    10

    Re: Why are LCD monitor so cheap

    I bought one of their OLED TVs 14 months ago (sold my body again), an amazing picture, phenomenal contrast, brilliant colour and it runs as cool as a cucumber which is a good thing during an Aussie...
  186. Thread: Barking dog

    by John Drew
    Replies
    13
    Views
    34

    Re: Barking dog

    Thanks Ken,
    I've copied your message and emailed him. He lives in Campbelltown.
    If he wants to follow up I will PM his phone number to you. I now have a couple of other ideas too.
    Best wishes
    John
  187. Thread: Barking dog

    by John Drew
    Replies
    13
    Views
    34

    Re: Barking dog

    I reckon we can all sympathise with him. I speak often with him via Skype (he lives 400km away in Adelaide) and I hear the barking in the background. It really messes with quality of life for him and...
  188. Thread: Barking dog

    by John Drew
    Replies
    13
    Views
    34

    Re: Barking dog

    Thanks Les and Tim,
    Some reading to do.
    John
  189. Replies
    5
    Views
    10

    Re: Why are LCD monitor so cheap

    I reckon you might get what you pay for George. (I did think about using an exclamation mark but wasn't sure if the day was over - date/time differentials and all that)
    Cheers
    John
  190. Re: Migrating a monitored alarm from copper to GSM.

    Hi David,
    I think that even 3G is on the list in the not too distant future here in Oz. But I'm no expert, I thought when you mentioned GSM that meant 2G.
    David, I noticed you have only 9 posts....
  191. Thread: Barking dog

    by John Drew
    Replies
    13
    Views
    34

    Barking dog

    A friend is having trouble with almost non stop barking from a neighbour's dog.
    He is building a piece of hardware including a micro programmed to respond to a barking sequence and produce a loud...
  192. Re: Migrating a monitored alarm from copper to GSM.

    David, GSM is being de-activated in Australia to make room for 5G. It's already gone in a neighbouring town.
    This may explain why modules are becoming cheap as countries are progressively shutting...
  193. Re: HAs anyone used the TSL1401CL linear sensor?

    I don't know how they are made but is there an opportunity with the scan sensors out of a printer/scanner. I'm picturing a row of photodetectors with a light through the tube? Maybe that's not how...
  194. Replies
    42
    Views
    90

    Re: Web site advertising

    Thanks for the reply Lester.
    I'm the only one who uses this computer and I don't access sites that might lead to Google putting those ads my way.
    The ones in question were only showing on my...
  195. [SOLVED !] Re: ASM ERROR : Linker Error "Warning: resource version (1.30) does not match!"

    Tim, it's late here. Can you provide a complete program so Les can test compile rather second guess the full setup.
    John
  196. [SOLVED !] Re: ASM ERROR : Linker Error "Warning: resource version (1.30) does not match!"

    Tim, I also had a problem with cread32 as I was trying to bring in a float. I ended up using cread and put the problem down to me. I should have reported it at the time.If Les requires it I could...
  197. Replies
    42
    Views
    90

    Re: Web site advertising

    Lester, I'm getting not so tasteful ads. In the banner "Hot chats", Find ladies, Dating site.
    Reading a post in the Lounge I copped a dating site with an image.
    Not my style and I certainly don't...
  198. Replies
    10
    Views
    470

    Re: Suggestions for pic microcontroller

    If you buy them from Microchip Direct they are dirt cheap but freight is a killer if you only buy a small number.
    There is also a chip select facility on the site to help you make your choice.
    John
  199. Replies
    9
    Views
    15

    Re: Single character lines

    Thanks Lester,
    Interesting, getting rid of that particular ad did the trick. It's a complicated world we live in.
    John
  200. Replies
    5
    Views
    19

    Re: How do I change my signature?

    I don't know if my permissions are making it easier but it seems straightforward.
    My Profile. (top right hand corner)
    Change signature (in left pane)
    Login upon request and change it.

    John
    ...
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4