Search Results - Proton BASIC community web site


Search:

Type: Posts; User: RGV250

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: Forgive my ignorance about recent changes please

    Hi,
    I have Norton and I think it flags it up I think due to numbers, if not people download I think. On mine it says requires attention, I tell it to download anyway.
    The link Norm gave you is...
  2. Replies
    5
    Views
    398

    Re: Cannot Initialise SD card

    Hi Norm,
    I have looked and apparently the level shifter works if the voltage is the same. It is fiddly getting at the pins to check, I am considering a small adaptor that goes in the slot and brings...
  3. Replies
    5
    Views
    398

    Re: Cannot Initialise SD card

    Hi Norm,
    Thanks for the suggestions, the PIC board has all the caps etc and works fine with other examples, it also sends the message out to the serial port in this.
    One of the boards is the...
  4. Replies
    5
    Views
    398

    Cannot Initialise SD card

    Hi,
    I have tried a simple program from here http://www.protonbasic.co.uk/content.php/4400-Proton24-FAT-File-System
    I am using the same device and nothing else on the board, I have tried with 2...
  5. Re: GLCD 128x64 controller compatibility with Proton commands

    Hi Les,
    I have only really used it for the downloads.
    I had a look around and it has a lot of information there, I was just about to suggest something and then I noticed it shows it differently if...
  6. Re: GLCD 128x64 controller compatibility with Proton commands

    Hi,
    I had a look and hobby components sell a similar one, it seems some variants can be SPI.
    More details here which might help https://forum.hobbycomponents.com/viewtopic.php?f=75&t=1395
    ...
  7. Replies
    15
    Views
    588

    Re: Can't enable secondary oscillator

    Hi Simon,
    Les has just replied to one of my posts, it appears OSCCON is locked so you need to unlock it first.

    Have a look here (Post 2)...
  8. Replies
    2
    Views
    269

    Re: __builtin_brain_damage

    Thanks Les,
    Not happy, spent ages typing away only for the forum to ask me to sign in when I posted the reply, I did so and promptly lost it all.

    After trawling through loads of datasheets and...
  9. Replies
    2
    Views
    269

    __builtin_brain_damage

    Hi,
    I am getting brain damage trying to figure out where to find __builtin_xxx values.
    While looking at some Microchip examples I see several examples where they have this sort of thing

    and

    ...
  10. Replies
    7
    Views
    346

    Re: Missing samples folder

    Hi,
    Mine is in Desktop/UserName/PDS

    Regards,
    Bob
  11. Replies
    5
    Views
    321

    Re: Dont tidy up programs when tired (or dunk)

    Hi,
    I had a backup, the issue was that I had thought it was working properly when I went to bed and when I woke up it wasn't.
    2 out of 3 parts were working correctly so I initially put it down to...
  12. Replies
    5
    Views
    321

    Dont tidy up programs when tired (or dunk)

    Hi,
    This is probably not news to anyone but I have spent the last hour thinking I had a hardware fault.
    Last night I had a perfectly good working program, it was stable and I could not think of...
  13. Replies
    7
    Views
    551

    Re: Strange issue with a proceedure

    Hi Les,
    The code is right, it is just the strange quirk on the first time it is called, after that is works exactly as it should. I have seen another weird thing so it is probably the display, it...
  14. Replies
    7
    Views
    551

    Re: Strange issue with a proceedure

    Hi Les,
    I noticed that you do not create the variables in the procedure like I have.
    I am not sure where I got that from, maybe earlier examples? so the bit in red is a waste of space?
    ...
  15. Replies
    7
    Views
    551

    Re: Strange issue with a proceedure

    Thanks Keytapper, I had not seen REP before, I will keep that in mind.

    Thanks Les, That looks interesting. I am not sure if it will solve the mystery as to why the first time the routine is used...
  16. Replies
    18
    Views
    1,019

    Re: Compiler problem

    Hi Colin,
    I found I had issues with the new compiler, I went back to 3.7.3.9 and all was OK. Les said he will post a new app24.exe which hopefully will fix your issues as well.
    My issues were where...
  17. Replies
    7
    Views
    620

    Re: DS1307_Time_Logger sample does not compile

    Hi Les,
    Do you know which version it went wrong at, I have reinstalled 3.7.3.8 and it compiles OK, I also have 3.7.3.9 & 3.7.4.7

    Regards,
    Bob
  18. Replies
    7
    Views
    551

    Strange issue with a proceedure

    Hi,
    I think this issue is due to passing a variable to a procedure but I cannot figure out why.
    I am showing a progress bar on a serial display.
    This is long winded but works


    'This routine...
  19. Re: PIC12F1572 an interrupt generated by a pin state change

    Hi Hal,
    As Stephen says, I would only go for one edge of the pulse. If the logic is, if it misses the rising edge it will get the falling edge you should rethink the design.

    My comment is why...
  20. Replies
    5
    Views
    481

    Re: I hate 24 bit PIC's

    Hi Simon,
    I only have one interrupt at the moment, my Prusa MK3S+ I am getting for a Christmas prezzy.

    Bob
  21. Replies
    7
    Views
    620

    Re: DS1307_Time_Logger sample does not compile

    Thanks Les, you're a star.

    Bob
  22. Replies
    7
    Views
    620

    Re: DS1307_Time_Logger sample does not compile

    Hi,
    This is beyond my skills level, I tried to comment out the Procedures where this is used and then I get Error [Line 199]:Item 'RTC_HOUR' not found! (DS1307.inc) which is also declared.
    ...
  23. Replies
    7
    Views
    620

    Re: DS1307_Time_Logger sample does not compile

    Hi Keytapper,
    The issue is not with the accuracy of the clock, this code has the clock and SD card ready made, I now have working code for an AHT20 module and a serial display so to try to make a...
  24. Replies
    7
    Views
    620

    DS1307_Time_Logger sample does not compile

    Hi,
    I have got quite a way now with a serial display and AHT20 sensor on a PIC24. I now thought I would look at storing the data and a thread on the forum suggested using DS1307_Time_Logger in the...
  25. Replies
    1
    Views
    286

    Re: Pic24 ascl1/asda1 - scl1/sda1

    Found it,
    FPOR.4 (ALTI2C) 0 = SCL1/SDA1 / 1 = ASCL1/ASDA1

    Bob
  26. Replies
    1
    Views
    286

    Pic24 ascl1/asda1 - scl1/sda1

    Hi,
    I am using 24HJ128GP502 and I2C, PORTB.8 & 9 are SCL1/SDA1 and it works fine, I then noticed there is ASCL1/ASDA1 ( alternative I2C) which is on port/pins PORTB.5 & 6.
    There does not seem to be...
  27. Replies
    5
    Views
    481

    Re: I hate 24 bit PIC's

    Thanks Les,
    Super fast response, it is that support why I will be paying for the upgrade even if I do not need the extra functions.
    That works, hopefully I will not have any more issues for a...
  28. Replies
    5
    Views
    481

    I hate 24 bit PIC's

    I really wish these things had not been invented, I have only found one thing they are better than a 18F device and that is speed.
    Yes, the speed at which they annoy me is incredible.

    I was...
  29. Re: Proton and Proton24 Compilers. Anomaly correcting update.

    Hi ElektroArt,
    As I understand it the next version is the paid for upgrade and not the one that is in the link for this thread.

    Regards,
    Bob
  30. Re: Proton and Proton24 Compilers. Anomaly correcting update.

    Hi Les,
    Thanks for the continued work/improvements, I will pay for the upgrade even if I do not need the new devices features.
    One question, will it be per user or installation, I have 2 USB...
  31. Replies
    7
    Views
    484

    Re: Ram reading via address

    Hi,
    I have used Address = VarPtr(Variable name) before which I think is what you are looking for.

    Looks like it has been changed to Ptr8, Ptr16, Ptr24, Ptr32 now

    Bob
  32. Thread: Can bus library

    by RGV250
    Replies
    11
    Views
    8,259

    Re: Can bus library

    Hi,
    I have re written everything using procedures so it does not need Library manager otherwise I would have stayed at an old version. I have not had time to test anything as the house is taking...
  33. Re: Select/Case/Endselect nested into a If/else/then

    Hi,
    In your second code example could you use something like

    If active = 1 Then
    DelayMS = option * 100
    endif

    If active = 0 Then
    DelayMS = option * 100
    endif
  34. Re: USB HID Keyboard Demo has compile errors in 3.7.4.7

    Hi,
    I came to a similar conclusion as Norm but then it gave an error HID_WriteArray not found. Not sure what the array should be. (V3.7.3.9)

    Bob
  35. Replies
    14
    Views
    758

    Re: White LED on 24V?

    Hi,
    I have just looked at the datasheet and am totally confused, not difficult. What about the forward voltage or does that not matter if the current is limited. It shows an example with 220VAC and...
  36. Thread: Error

    by RGV250
    Replies
    17
    Views
    1,092

    Re: Error

    The device is not in the list for the free version of the compiler, see here for which ones are in the free version http://www.protonbasic.co.uk/vbdownloads.php
    You will need to purchase a licence...
  37. Replies
    6
    Views
    1,134

    Re: Problem with ISIS distribute with Proton

    Hi John,
    I have not tried it but I think you can use the boards on their own, go to the ProtonIDE\Plugin folder and run VHB Explorer.exe, if you right click on the PIC and edit properties you can...
  38. Replies
    24
    Views
    1,746

    Re: 3d printers any recommendations?

    Hi George,
    Note also that Tim posted "I really do not want to spend much ~300 will do for me." That is why I suggested the Mini..

    Mark forged ...
  39. Replies
    24
    Views
    1,746

    Re: 3d printers any recommendations?

    Hi George,
    I just wonder what you have against Prusa, they use quality parts such as Bondtek extruder and E3D V6 hot end just as a couple of examples.
    I bought cheap and could have bought the Prusa...
  40. Replies
    24
    Views
    1,746

    Re: 3d printers any recommendations?

    Hi Tim,
    I would be wary of the cheaper ones, I have 4 printers and none of them work as i would like. I could have bought one good one for what I spent on all of the cheaper ones. I am currently...
  41. Re: High speed and sleep vers slow and steady Current consumption

    Hi Tim,
    Have you looked at Microchip Nanowatt XLP devices, apparently there is a calculator download for battery life estimator.
    http://ww1.microchip.com/downloads/en/DeviceDoc/39941d.pdf
    ...
  42. Replies
    2
    Views
    489

    Re: Adverts are driving me mad

    Hi Lester,
    It does not happen all the time but I will take a screenshot if it does happen again.

    Regards,
    Bob
  43. Re: johngb has just uploaded Proton Studio 2.0.1.9 update!

    Hi John,
    I have sent email if you are still at the one when you were looking at creating the visual designer.

    Bob
  44. Re: johngb has just uploaded Proton Studio 2.0.1.9 update!

    Hi,
    Another issue is that when I close it I get the windows error "Proton studio has stopped working" "Check online / close the program".
    This is the details if it helps.
    Win 7 64bit.
  45. Re: johngb has just uploaded Proton Studio 2.0.1.9 update!

    Hi,
    I have just tried it and have a question, I opened up a program and noticed Do/Loop, Sub/Do/Endsub, $if/$endif & $ifdef/$endif were all shown with links.
    In another file For/Next were linked...
  46. Replies
    2
    Views
    489

    Adverts are driving me mad

    I don't know if anyone else has the problem but several times I have gone to reply to a thread only to find an advert is covering the text entry box and clicking on the x does not get rid of the...
  47. Replies
    6
    Views
    591

    Re: Instruction Cycles

    Hi John,
    I have just coied the link in a new page and it works, not sure why it did not make it a link.

    This is the code example



    INCLUDE "PROTON_G20.INT" 'Proton 20MHz Graphics LCD
    DIM...
  48. Replies
    6
    Views
    591

    Re: Instruction Cycles

    Hi John,
    There used to be a bit of code on here (it may be in the WiKi) called "How many cycles", you put a start point and end and it told you how many cycles the routine took so you could send out...
  49. Replies
    1
    Views
    376

    HrsIn with variable length strings

    Hi,
    I have managed to read a string in using HrsIn but the problem I have is that the string can be variable in length, this is what I have used to get the string in but the string has to be 10...
  50. Replies
    7
    Views
    662

    Re: Strange behavior with Procedure

    Thanks Les,
    Always good to know why a workaround worked.

    Regards,
    Bob
  51. Replies
    7
    Views
    662

    Re: Strange behavior with Procedure

    Hi Tumbleweed,
    The puzzling bit for me is why both the top 2 work correctly when in the main loop so i would think it they are both sending a single byte, when I move it to the procedure it does not...
  52. Replies
    7
    Views
    662

    Re: Strange behavior with Procedure

    Hi Charlie,
    You must have been replying as I was typing, as said, I am confused why it works correctly if I have it in the main code but not when in a procedure.

    Bob
  53. Replies
    7
    Views
    662

    Re: Strange behavior with Procedure

    Hi,
    I have just found if I do this it works.


    TempByte = (128 + LinePos + ColumnPos) '128 (Change position command) + Line position + Column position)

    HRSOut 254 'DEC 254...
  54. Replies
    7
    Views
    662

    Strange behavior with Procedure

    Hi,
    I have managed to get the serial display I am working on to work with a serial interface, it is a but clunky setting the Line position so I thought I would make it into a procedure.
    You need to...
  55. Re: forum obsolete - no more compiler updates here?

    Hi Les,
    I agree with all the others.
    I have a suggestion I would pay for and I am sure a lot of others would, Tim did a fantastic ICD and the DaveS followed it up with another really good one.
    For...
  56. Replies
    9
    Views
    1,530

    Re: I2C serial display

    Hi Les,
    This is strange, I have now got a PIC24FJ64GB002 running at 32mhz checked with logic analyser.
    I am supposed to be sending Hello so 5 bytes but it sends the address and then 2 bytes,...
  57. Replies
    9
    Views
    1,530

    Re: I2C serial display

    Hi Charlie,
    Thanks, I will have a look to see how it compares but I think mine is running at the right speed.

    Les,
    I put a logic analyser on it last night and saw something strange and I cannot...
  58. Replies
    9
    Views
    1,530

    Re: I2C serial display

    Thanks Les,
    The PLL setting did not work, I should have a 24F that came with the Microstick so I will try to find that and have another go later.

    Regards,
    Bob
  59. Replies
    9
    Views
    1,530

    Re: I2C serial display

    Hi Les,
    Thanks, I have now come across another problem, I assume I need to change something in the "PLL_Setup" settings but I cannot find any information on this at all in the datasheet, the manual...
  60. Replies
    9
    Views
    1,530

    I2C serial display

    Hi,
    As I am trying to get into using PIC24 so with its 3.3v my normal serial displays I use for debugging will not work. I have bought some 3.3v 4x20 displays ...
  61. Replies
    3
    Views
    2,110

    Re: Reading string HRSin

    Hi,
    I think a link to the datasheet or manual for the BT module might help.

    Regards,
    Bob
  62. Replies
    9
    Views
    1,290

    Re: Amicus24 board component

    Hi Bob,
    I am just ordering some parts up and wondered what you have used.
    I am not sure on the SPX1117,1 or the TLV1117,1 so I looked at the Amicus 18 schematic. If I use TLV111750CDCY &...
  63. Replies
    9
    Views
    1,290

    Re: Amicus24 board component

    Hi Bob,
    I like the idea of the cheap USB/TTL to get the parts, it will be fun to play with my hot air gun. So far it has only been used for heatshrink.

    Bob
  64. Replies
    9
    Views
    1,290

    Re: Amicus24 board component

    What a palarva, I tried to reply but an advert decided it was going to pop up right over the reply box. Would not go until I clicked on it and closed it down.
    I picked up the capacitor issue so...
  65. Replies
    14
    Views
    1,257

    Re: How do you drive an inkjet printer via USB?

    Hi Charlie,
    Have you thought about using a Raspberry Pi zero to control the printer, here is a link to adding a printer to the Pi, then you could send serial to the Pi.

    Probably not as simple as...
  66. Replies
    9
    Views
    1,290

    Re: Amicus24 board component

    Thanks, I had not though of that, time to buy a new monitor I think.

    Regards,
    Bob
  67. Replies
    9
    Views
    1,290

    Amicus24 board component

    Hi,
    I got a few Amicus24 boards when Lester was doing his bit to save planet earth and keep Greta happy.
    I have spent a while looking for parts or alternatives but have come unstuck on one of them...
  68. Replies
    9
    Views
    1,258

    Re: Parsing an string from the serial.

    Hi,
    I am not sure exactly what you are looking for, are you looking for values after a certain character?
    If so, I would read the whole string in and then in a loop test each character until you...
  69. Poll: Re: About deleting accounts due to inactivity beyond three months.

    Hi,
    I did not think it was so short, maybe a year before deleting it but send a weekly email after 9 months?

    As for the password, it used to frustrate me but now I just use my age and which half...
  70. Replies
    7
    Views
    2,018

    [OFFER] Re: 2 Firewing 16 boards going free

    Hi,
    Not sure how to mark this thread as "Taken" ??

    Regards,
    Bob
  71. Replies
    7
    Views
    2,018

    [OFFER] Re: 2 Firewing 16 boards going free

    Hi George,
    I have not got any messages? so I have sent you my email by PM.

    Bob
  72. Replies
    7
    Views
    2,018

    [OFFER] Re: 2 Firewing 16 boards going free

    Hi George,
    I tried to PM you but your mail box is full, PM me with your address and email if possible.

    Regards,
    Bob
  73. Replies
    7
    Views
    2,018

    [OFFER] Re: 2 Firewing 16 boards going free

    Hi George,
    I am going down town tomorrow so I will see what the postage is, they are not heavy so it should be OK. If I don't get any other takers by tomorrow I will send both depending on the post....
  74. Replies
    1
    Views
    485

    [OFFER] 2 Microstick II boards going free

    Hi,
    I have 2 Microstick II boards going free (UK only due to postage), having a clearout and find MPLab just too cumbersome to bother with, why they did not include ICSP on the board is beyond me....
  75. Replies
    7
    Views
    2,018

    [OFFER] 2 Firewing 16 boards going free

    Hi,
    I have 2 Firewing 16bit boards going free (UK only due to postage) for anyone who is feeling brave enough, I could not get them to work with PDS but they are there if anyone feels they want to...
  76. Replies
    1
    Views
    459

    WooHoo, my first blinking LED on a PIC24

    After many years of grief I finally have a flashing LED on a PIC24 and it feels great.
    I had 2 Firewing boards but for some reason the bootloaders kept getting wiped out, the Pickit 2 struggled to...
  77. Replies
    7
    Views
    975

    Re: Grief breading serial data from AHT20

    Hi Les,

    Every time I do it I know I should do it differently but old habits die hard, I also thought about using while/wend but I do find "Main/GoTo Main" easier to follow. I try not to use GoTo...
  78. Replies
    7
    Views
    975

    Re: Grief breading serial data from AHT20

    Hi,
    Slight error noticed in the read data which made a small error in the temp reading AHT_Data_6 was actually _5.


    'Read the raw data
    I2CIn SDA, SCL, AHT_ADDR_READ,...
  79. Replies
    7
    Views
    975

    Re: Grief breading serial data from AHT20

    Hi Rick,
    Thanks for replying, Les suggestion worked.

    Hi Les,
    I have not had a lot of dealings with I2C but why does it work without issuing start / stop commands etc. I think that may have been...
  80. Replies
    7
    Views
    975

    Re: Grief breading serial data from AHT20

    I have just realised the title should read "Sequential" data

    And the datasheet link was a bit messed up....
  81. Replies
    7
    Views
    975

    Grief breading serial data from AHT20

    Him,
    I am having a lot of grief reading the data from this device Vhttps://cdn-learn.adafruit.com/assets/assets/000/091/676/original/AHT20-datasheet-2020-4-16.pdf?1591047915
    I know the device works...
  82. Re: Software solution to the flickering LED problem

    Hi,
    There has always been a Gosub command or at least for the 15 years I have been using PDS there has.
    If you have a pin spare you could use a serial LCD to show the analog value to see if it is...
  83. Re: Software solution to the flickering LED problem

    Hi,
    I don't see a call to PWM_ either, is it meant to be used?

    Regards,
    Bob
  84. Replies
    14
    Views
    1,809

    Re: FFT_Tone_Decoder for LEDs

    Hi,
    It is actually Samples\New Samples folder.

    Bob
  85. Replies
    14
    Views
    1,809

    Re: FFT_Tone_Decoder for LEDs

    Hi,
    Have you looked in the "New samples" folder, there are some FFT examples there.

    Regards,
    Bob
  86. Replies
    7
    Views
    2,493

    Re: Individual Pricing

    Thanks, just ordered it. You never know, I might actually start working with 16 bit devices now.

    Regards,
    Bob
  87. Replies
    7
    Views
    2,493

    Re: Individual Pricing

    Hi Evan,
    Thanks for replying, as the moment I only use the Pickit 2 GUI but the command line might be something I will change to in the future, not sure about the Autowatch. The question is, if I...
  88. Replies
    7
    Views
    2,493

    Re: Individual Pricing

    Hi,
    Rather than start a new post I thought I would ask my question here.
    As there is no demo I am a bit apprehensive, there are quite a few options and not sure which to go for. I think all I would...
  89. Replies
    3
    Views
    799

    Re: Font conversion and the best tool

    Hi Tim,
    I have just fired it up and tried with a large font and it gives an error that Proton does not handle fonts larger than 32.

    Bob
  90. Replies
    3
    Views
    799

    Re: Font conversion and the best tool

    Hi Tim,
    Are you talking about the one from Octal?, I did have it and have some erratic backup so I can have a look if it is that one.

    Regards,
    Bob
  91. Replies
    3
    Views
    1,465

    Re: "Your connection to this site is not secure"

    Hi Rick,
    I think it is because it is not HTTPS but as you are not giving any financial details I do not think it is a problem (my opinion).

    The password I use here is not used for anything else...
  92. Replies
    5
    Views
    1,150

    Re: Is it possible to alias the SerOut pin

    Hi Les,
    Thanks for the info, I have amended my VSM and I do not get any garbage on the first line now.

    Interesting thought regards the PPS but I am trying to use up parts I already have, it could...
  93. Replies
    5
    Views
    1,150

    Re: Is it possible to alias the SerOut pin

    Hi Les,
    That is exactly what I am trying to do, I notice you have put pull up resistors in the sim. I never do but is that something I will need to do in real hardware, I think I may have a problem...
  94. Replies
    5
    Views
    1,150

    Is it possible to alias the SerOut pin

    Hi,
    As the title says, is it possible to alias the pin used for "SerOut"?, I would like to send a string out on each pin of a port so PortB.0 first and sequentially through to PortB.7 and then loop...
  95. Replies
    16
    Views
    2,528

    Re: How to replace another value without flicker

    Hi,
    This works, you did not show the variable value, also you did not give it a type when you print. You do not need to print the second line all the time as you have not changed it. Various delays...
  96. Replies
    16
    Views
    2,528

    Re: How to replace another value without flicker

    Hi,
    Change the DelayMS 10 at the end as this will not help. Also you will need to have a delay at the end or it will be overwritten straight away.

    Bob
  97. Replies
    16
    Views
    1,829

    Re: Speed difference between 8 & 16 bit PICS

    Hi,
    I am not sure about 1/3 speed, as far as I know the 16 bit have a 2:1 instruction cycle where the 8bit is 4:1 so I would have thought they would be the same with the 16 bit at 32Mhz and the 8bit...
  98. Re: File transfer between two WIN 10 PC using RS232

    Hi Lester,
    That was timely as I was just about to post if you were OK, we had not heard from you this year.

    Bob
  99. Re: Store a 2 digit or 3 digit number from a keypad in a variable

    Hi,
    Ignore the post, I was looking at Les code.

    Regards,
    Bob
  100. Replies
    2
    Views
    631

    [SOLVED !] Re: IDE feature request

    Hi Rick,
    If you look at the "Save" icon, when you change the code it goes dark and if you compile it goes grey again. Probably not as obvious as you may want but it is there.

    Regards,
    Bob
  101. Thread: TM1637 code

    by RGV250
    Replies
    16
    Views
    3,559

    Re: TM1637 code

    Hi,
    I have not had to remove the caps from my modules.

    Thank George for the tip on how to post code, it does seem strange but it appears to work.

    Regards,
    Bob
  102. Thread: TM1637 code

    by RGV250
    Replies
    16
    Views
    3,559

    Re: TM1637 code

    Hi,
    This should be the same but with a couple of comments added.

    Regards,
    Bob



    '****************************************************************
    '* Name : TM1637.BAS ...
  103. Thread: TM1637 code

    by RGV250
    Replies
    16
    Views
    3,559

    Re: TM1637 code

    Hi,
    It is quite basic as I only needed a speed readout for a lathe. Are you likely to need decimal places, if so I will have a look as it should not be too difficult.
    The code above has got the...
  104. Replies
    5
    Views
    1,017

    Re: PIC18FxxQ devices

    Hi,
    If you look in the includes\ppi directory you can see thee.
    In mine I can see 18F24(5)Q10 & 18LF24(5)Q10, might be more but they do not appear to go alpha numeric or they do but there is other...
  105. Thread: TM1637 code

    by RGV250
    Replies
    16
    Views
    3,559

    Re: TM1637 code

    Hmm, that did not go too well, I copied and pasted the code and it is in one single line. If any moderator sees this could you have a look to see what I have done wrong.
    It is in Example code / LED...
  106. Thread: TM1637 code

    by RGV250
    Replies
    16
    Views
    3,559

    Re: TM1637 code

    Hi Joseph,
    I will have to read up the "How to" first and see how it goes from there.

    Regards,
    Bob.
  107. Thread: TM1637 code

    by RGV250
    Replies
    16
    Views
    3,559

    TM1637 code

    Hi,
    I have written some code for TM1637 modules, it does not do the DP/Colon or key scan as I only wanted it for a revcounter for a lathe.
    They are 4 (or 6 digit) 7 segment displays on 2 data...
  108. Replies
    10
    Views
    3,969

    Re: Problem receiving string

    Hi John,
    My only thought was if it was too slow it may miss data, I have resolved that issue now I think. I found a serial sample which had interrupts, I modified it quite a bit and now it all seems...
  109. Replies
    10
    Views
    3,969

    Re: Problem receiving string

    Hi,
    I am getting there, I had to move the data to another variable and clear the input buffer, it works now but it is not 100% reliable particularly with the first message. I think it will be better...
  110. Replies
    10
    Views
    3,969

    Re: Problem receiving string

    Hi George,
    I have tried twice to reply from my phone but all sorts of problems and kept getting told I was not logged in. Anyway, on the desktop now so should be OK.

    If I send text the PC app...
  111. Replies
    10
    Views
    3,969

    Re: Problem receiving string

    Hi Les,
    Thanks for looking, I have tried at 100 and it still only appears to get the second character. It is fine if I sent single "1","2","3","4" or "C",S","R" etc and use Dim IN_CHR as byte.
    At...
  112. Replies
    10
    Views
    3,969

    Re: Problem receiving string

    Hi Les,
    It is 18F4680

    Bob
  113. Replies
    10
    Views
    3,969

    Problem receiving string

    Hi,
    I have an idea for a simple debugger where I can put the name of several variables into a PC app and the app will show the state of the variables as a snapshot or continuously. This would mean...
  114. Replies
    20
    Views
    6,399

    Re: PIC Basic to Proton Basic Convertion

    That must make 2 of us then, in my case I think it is awful using .BAS for an include. As you say John, it is more obvious which is the main file but how many times have I clicked on the INC file to...
  115. Replies
    20
    Views
    6,399

    Re: PIC Basic to Proton Basic Convertion

    Hi,
    I think you need to include the ReadSHT71.bas file here as that is where the problem lies.
    By the looks of it there is subroutine that expects a value passed to it and there is an If / Then /...
  116. Replies
    16
    Views
    5,956

    Re: Newbie to the forum

    Hi,
    I did not notice the error but it is still fast, are there any fantastically time critical things beig sent?

    Bob
  117. Replies
    16
    Views
    5,956

    Re: Newbie to the forum

    Hi,
    It is not the CAN settings that generate the interrupt but the interrupt registers, have a look at PIR5, PIE5 & IPR5.
    Can you edit the other boards, if so I would just send the data...
  118. Replies
    16
    Views
    5,956

    Re: Newbie to the forum

    Hi Rob,
    First off, the library I wrote will not work with the 18F25K80 or any of that series, I am looking at it but they have changed things for no apparent reason.
    You say it listens for the...
  119. Replies
    16
    Views
    2,863

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

    Hi,
    Is there an option to pay with card via paypal, when I look it asks me to sign up for an account which I cannot and will not do (previous history with them). I paid for the Procedures update...
  120. Replies
    14
    Views
    2,207

    Re: Amicus 24 schematic?

    Hi Les,
    Sounds interesting, I take it the micro will be on board and not replaceable. Will it be just the one version or is there a chance one will have a CAN interface.

    Regards,
    Bob
  121. Replies
    14
    Views
    2,207

    Re: Amicus 24 schematic?

    Hi Lester,
    Thanks, I will start to look at doing a build over the holidays.
    On a separate note, are there any MK2 dev boards left?
    Also did the ethernet boards go.

    Regards,
    Bob
  122. Replies
    8
    Views
    2,120

    Re: Christmas Lights

    I think it would be cool to have someone sweep up all the broken glass at the bottom of the screen like the snow plogh on the snow scene.

    Bob
  123. Replies
    15
    Views
    1,875

    Re: 3.7.3.1 download will not unzip

    I am using version 70.0.1 on the win7 PC, not sure on the laptop.

    Bob
  124. Thread: Can bus library

    by RGV250
    Replies
    11
    Views
    8,259

    Re: Can bus library

    Hi Leo,
    Bad news, good news, not sure news.
    The bad news is that the old one would no longer work due to the library manager not working with later versions.
    The good news is that I have...
  125. Replies
    15
    Views
    1,875

    Re: 3.7.3.1 download will not unzip

    Hi John,
    I tried on 2 machinehs with different OS.
    The only common factor was firefox?

    Bob
  126. Replies
    15
    Views
    1,875

    Re: 3.7.3.1 download will not unzip

    Interesting, I tried on Win7 and got a different message but pretty much the same, saying the archive was empty although it was around 80meg. I then noticed it had added .zip on to the file. removed...
  127. Replies
    15
    Views
    1,875

    Re: 3.7.3.1 download will not unzip

    Strange, I tried earlier versions and get the same, existing downloads seem to work. I wonder if a Windows10 update has done its usual thing of messing things up without my permission. I am going to...
  128. Replies
    15
    Views
    1,875

    3.7.3.1 download will not unzip

    Hi,
    Has anyone else downloaded 3.7.3.1, I just have and when I try to unzip it I get a message "Archive is not readable. Would you like to try a password?".
    I have downloaded it twice and same both...
  129. Re: Tesla acquires Maxwell for dry electrode technology?

    Hi,
    I think there is a lot of rubbish and dealers ripping people off regards batteries. A coleague had a Renault electric car on a PCP scheme which he rented the battery as he was advised it was the...
  130. Replies
    73
    Views
    8,700

    [OFFER] Re: Proton MKII Development Board

    Hi Lester,
    Just collected my box of goodies, I couldn't wait till Monday. I have to say I am very pleased, just like Christmas but early.

    Regards,
    Bob
  131. Re: A registration is required for device 16F18326!?

    Hi Elliot,
    How did you install the dongle driver, From memory I think for Win7 you copy it to a windows directory and then aim the dongle to it, I am sure there are instructions on the forum...
  132. Thread: RC522 RFID Code

    by RGV250
    Replies
    17
    Views
    6,341

    Re: RC522 RFID Code

    Hi Cemati,

    I'n convert code to picbasic

    Just to clarify, do you mean PDS (Proton development suite) or Picbasic as they are quite different (and a different forum).

    Bob
  133. Replies
    14
    Views
    3,087

    Re: Amicus 18 GPS Shield date issue.

    Hi,
    Re the code I was thinking about he ZDA stuff.
    Interesting that in the manual it states 1980-2079.

    How is the accuracy of the GPS?

    Bob
  134. Replies
    14
    Views
    3,087

    Re: Amicus 18 GPS Shield date issue.

    Hi,
    That seems strange as I was under the impression that it was embedded in the GPS message, anyway, can you post your code so I can have a play over the weekend without re-inventing the wheel.
    ...
  135. Replies
    14
    Views
    3,087

    Re: Amicus 18 GPS Shield date issue.

    Hi Bob,
    I think you need to send this to the module $PNMRX108,GGA,GSA,GSV,RMC,VTG,ZDA*70

    I used this calculator http://www.hhhh.org/wiml/proj/nmeaxor.html found on Sparkfun site to calculate...
  136. Replies
    14
    Views
    3,087

    Re: Amicus 18 GPS Shield date issue.

    Hi Bob,
    Have a look at page 5 of the manual, the way I read that is that GGA, GSA, GSV, RMC and VTC are sent by default, the rest are not.
    Pages 21 & 25 seem to imply that if you initialise the GPS...
  137. Replies
    14
    Views
    3,087

    Re: Amicus 18 GPS Shield date issue.

    Hi,
    I will try to have a play over the weekend, I have just dug my original board out which was a BT406 I think but the code was based on the 4140.

    Bob
  138. Replies
    14
    Views
    3,087

    Re: Amicus 18 GPS Shield date issue.

    Hi Bob,
    Have a look here, according to the datasheet it supports it.
    http://www.protonbasic.co.uk/vbdownloads.php?do=download&downloadid=407

    I have just found my original code which has an...
  139. Replies
    14
    Views
    3,087

    Re: Amicus 18 GPS Shield date issue.

    Hi Bob,
    The difference is that in ZDA it is in 3 seperate variables rather than one, I am away this weekend and I have the shield as well, I also should have my original code so i will have a look...
  140. Replies
    14
    Views
    3,087

    Re: Amicus 18 GPS Shield date issue.

    Hi Bob,
    Should you not be using GPZDA



    NMEA reference https://www.sparkfun.com/datasheets/GPS/NMEA Reference Manual1.pdf

    Regards,
    Bob
  141. Thread: RS 485 isolator

    by RGV250
    Replies
    8
    Views
    1,578

    Re: RS 485 isolator

    Hi,
    https://buy.advantech-bb.com/Serial/Isolators-and-Repeaters-RS-232-422-485/model-BB-485OP.htm
    Not cheap but all depends on your time, I am sure there are others.

    Regards,
    Bob
  142. Replies
    10
    Views
    1,569

    Re: Rfid read procedure

    Hi,
    I appreciate you want to understand and write the code yourself but from personal experience knowing that the hardware works first is a great help. I have spent many a time struggling and...
  143. Replies
    10
    Views
    1,569

    Re: Rfid read procedure

    Hi,
    Why reinvent the wheel, someone has written code so why not use that.
    I would try the code that is on the forum first at least prove the hardware, one you have done that then you can try your...
  144. Replies
    10
    Views
    1,569

    Re: Rfid read procedure

    Hi,
    Can you explain a bit more.
    Are you using the code from the post I mentioned.
    Are you using the same device.
    Do you get several responses from the serial port such as


    Regards,
    Bob
  145. Replies
    10
    Views
    1,569

    Re: Rfid read procedure

    Hi,
    I have not used these RFID, only 125khz but would think they are similar in operation. Perhaps you could give more detail in what you have done as I am not sure what you mean by "Read test...
  146. Replies
    10
    Views
    1,569

    Re: Rfid read procedure

    Hi,
    Have you read this post http://www.protonbasic.co.uk/showthread.php/78080-RC522-RFID-Code
    it might explain why you cannot read different cards.

    Regards,
    Bob
  147. Replies
    12
    Views
    1,722

    Re: Phase offseting PWM to prevent noise on fans

    Hi Tim,
    What about a delay line, something like this. https://www.mouser.co.uk/datasheet/2/256/DS1135-1513733.pdf
    I have not used them but thought you could cascade one output to the next, the one...
  148. Replies
    73
    Views
    8,700

    [OFFER] Re: Proton MKII Development Board

    Hi Lester,
    I have the same issue as others, tried to do te special belivery from the link in this thread but got the 0 minimum order, I then tried to do it but th misc payments but the same. Can...
  149. Replies
    34
    Views
    3,663

    Re: New Prusa mini 3D printer

    Hi,
    You don't need Simplify3D if you are happy with using the free software that Prusa supply, I did not get on with mine as there was confusion over which worked. I think this is the difference...
  150. Replies
    34
    Views
    3,663

    Re: New Prusa mini 3D printer

    Ah, I missed that bit out, you need 3D CAD that can output .STL files, there are other formats but STL is the norm. I have ViaCAD 3D but I think google sketch up can do it as well.
    This is the bit I...
  151. Replies
    34
    Views
    3,663

    Re: New Prusa mini 3D printer

    Hi George,
    I have access to a Mark Forged at work, it only prints nylon or Carbon fibre which is used for strength.
    I have a couple at home but not impressed with quality/reliability. At the recent...
  152. Replies
    34
    Views
    3,663

    Re: New Prusa mini 3D printer

    Hi,
    It can't do nylon but unless you do a lot of it nylon is a pain as it is hygroscopic. We throw more nylon filament away that we use. I tried drying it out but with limited success.

    Bob
  153. Replies
    10
    Views
    2,334

    Re: Time to wake up! (SLEEP issue)

    Hi,
    I have never used sleep but looking at the compiler manual it appears straightforward. Have a look at the example in the manual and try that first, once you have that working it should be a...
  154. Replies
    73
    Views
    8,700

    [OFFER] Re: Proton MKII Development Board

    Hi Lester,
    On my first order tried to buy some GSM shields but was told they were out of stock, are these shields or modules. Either way, if you have any ofthem left and the uptake on the...
  155. Replies
    73
    Views
    8,700

    [OFFER] Re: Proton MKII Development Board

    Hi,
    Just got my second box, I cant believe Lester is having trouble giving stuff away. I now have Bluetooth modules, GPS boards and serial Graphic LCD's to play with along with the demo boards.
    ...
  156. Replies
    11
    Views
    1,529

    Re: Serin baud rate / clock dependency?

    Hi,
    Just realised, I think this is only for hardware serial.

    You did not say what device you are using so it may not have 16 bit BRG.
    The calculator I have came up with this.


    Bob
  157. Re: Bug in Proton compiler 3.7.8.2 Not working for pic18f2550

    Hi,
    I notice that there are no config settings in your code, I am pretty sure that it will be a peripheral that you have not set correctly rather than the compiler.

    Regards,
    Bob
  158. Replies
    11
    Views
    2,068

    Re: Perhaps one small step to popularise Proton

    Hi,
    My only one thought at the moment is the 1825K50 does not appear to be one of the free devices.

    Regards,
    Bob
  159. Replies
    73
    Views
    8,700

    [OFFER] Re: Proton MKII Development Board

    Hi Lester,
    Could I have one if not too late, will email whe n I get laptop powered up.

    Regards,
    Bob
  160. Replies
    5
    Views
    3,262

    Re: Newbie to the forum!

    Hi Les,
    I thought about suggesting Kickstarter, I think David Barker had a really good idea that unfortunately did not make it but may be able to give you some pointers. That way it gets to a...
  161. Replies
    16
    Views
    2,035

    Re: The Proton manual

    Hi George,
    I dont think this one was not about money, I watched a program, I think it was about about BluRay but cannot remember. It was reported that Sony (Betamax) said they would not allow...
  162. Re: What radio module can I use to transmit at 500kbit?

    Hi,
    I don't have any code, I just knew who made the units. Hopefully if you get stuck with the code there will be someone here who can help.

    Regards,
    Bob
  163. Re: What radio module can I use to transmit at 500kbit?

    Or this?
    https://www.rfsolutions.co.uk/radio-modules-c10/zetaplus-smart-transceiver-module-868mhz-so-p641

    Bob
  164. Re: What radio module can I use to transmit at 500kbit?

    Hi,
    I would try asking here https://www.radiometrix.com/lnm2h-lnm3h

    Regards,
    Bob
  165. Thread: Hi All

    by RGV250
    Replies
    10
    Views
    1,395

    Re: Hi All

    Hi,
    I think it is just asking to log in (not post) at least once per 90 days to stop your account being deleted.

    Regards,
    Bob
  166. Thread: New CAN Library

    by RGV250
    Replies
    6
    Views
    1,544

    Re: New CAN Library

    Hi John,
    I had a quick look through the datasheet and thought it would mainly be the configs for the osc, looking at the decoupling bit I am not sure I want to use them. Is that what they call...
  167. Thread: New CAN Library

    by RGV250
    Replies
    6
    Views
    1,544

    Re: New CAN Library

    Hi john,
    I have just ordered them, what a nightmare. Farnell/CPC appear to be the same company but CPC had some of the things and Farnell had the others. Farnell kept pointing me to a European...
  168. Thread: New CAN Library

    by RGV250
    Replies
    6
    Views
    1,544

    Re: New CAN Library

    Hi,
    That is all I have at the moment apart from an 18F4585 have found.
    I am going to order a couple of the new ones probably a 46K80 and 26K83 later on today when I can find something else to...
  169. Thread: New CAN Library

    by RGV250
    Replies
    6
    Views
    1,544

    New CAN Library

    Hi,
    After a lot of grief (some self inflicted) I am close to posting my new CAN library (with example) that does not need Library Manager. I am quite pleased with it as I think it is a lot easier to...
  170. Replies
    2
    Views
    573

    Re: Nesting Select / Case

    Thanks.

    Bob
  171. Replies
    2
    Views
    573

    Nesting Select / Case

    Hi,
    I just wondered if this was allowed, I have done it and it appears to work, there is nothing in the manual to say it can be done and then again there is nothing to say it cant.

    Regards,
    Bob
  172. Replies
    9
    Views
    1,178

    Re: Is XTAL available at compile time

    Thanks Joseph,
    That is exactly what I need, it looks like I will definitely be reading up on it.

    Bob
  173. Replies
    9
    Views
    1,178

    Re: Is XTAL available at compile time

    Hi,
    Thinking about it that could simplify things, at the moment I have several includes for my CAN devices, I could merge them all into one file but what if I selected a device that was not in...
  174. Replies
    9
    Views
    1,178

    Re: Is XTAL available at compile time

    Hi,
    Thanks for the replies, what I am trying to do is make the CAN library much more user friendly, the BAUD rate setting is pretty cumbersome so I have come up with a way of just entering the...
  175. Replies
    9
    Views
    1,178

    Re: Is XTAL available at compile time

    Hi George,
    I was not sure how to use _Xtal, however this appears to work.
    Dim XTAL_Speed As Byte
    XTAL_Speed = Xtal
    It took me ages to figure it out as I first put it directly...
  176. Replies
    9
    Views
    1,178

    Is XTAL available at compile time

    Hi,
    Pretty much as the title says, I have a procedure that I would like to base some of its options on the XTAL speed.
    As an example if the XTAL = 10 the procedure would use one set of options, if...
  177. Replies
    8
    Views
    1,093

    Re: Strange compile for a 16F628A

    Hi,
    Even if I put in Isr it still does not compile, there are errors
    TICKS
    ZEROX
    SETPRDS
    PREVTICKS
    PRESSED
    ENTPRDS
    ENTEROK
    ENTTICKS all not declared.
  178. Re: Wow!!!! 1991 guests at the moment on the forum

    Hi Lester,
    Regarding the email, were we supposed to reply or do anything or were you working on the fact you would get a failed to send reply?

    Regards,
    Bob
  179. Replies
    1
    Views
    443

    Re: Placement of Procs withing code space

    Hi,
    As I understand it (which is probably wrong) you cannot force it to the end of code space as it is related to when they are called in the program rather than discovered. As I say, probably...
  180. Replies
    5
    Views
    761

    Re: PICD or other debugger questions

    Hi Dave,
    I am sitting here on a rain swept isle of Man with nothing better to do so I thought I would try to iron out some issues with my CAN library.
    I am struggling as I need to step through...
  181. Replies
    24
    Views
    2,696

    Re: The use of USB with the 18F2550

    Hi,
    A very long time ago I did try USB with 18F4550 (which is essentially the same device with more pins), there seemed to be a lot more information out there then.
    I used RealBasic for the PC...
  182. Replies
    5
    Views
    660

    Re: Multiple serial communicators

    Hi,
    I have just found in C:\Program Files (x86)\ProtonIDE\Plugin\SerialCom the application and it does run multiple instances, the only thing I did find which is not a major issue is that the port...
  183. Replies
    5
    Views
    660

    Re: Multiple serial communicators

    Hi,
    Thanks for the suggestions, I also found Termite https://www.compuphase.com/software_termite.htm whilst googling in the pub. It looks really good, the only thing I would have liked is a separate...
  184. Replies
    5
    Views
    660

    Multiple serial communicators

    Hi,
    I use the built in serial communicator for debugging as it is so simple and all I need.
    When doing multiple devices I used Hyperterminal as that was simple as well.
    Now I am on windows10 I am...
  185. Replies
    5
    Views
    2,134

    Re: LCD display module HT1621

    Hi,
    There is an article for Arduino here http://arduinolearning.com/code/ht1621-6-digit-7-segment-display-example.php
    There is no include so all the code is here and should be easily convertible,...
  186. Re: How to invert just a bit - complement of a bit

    Hi,
    This works on the individual bits and you can simulate it in the free VSM



    'Simulates in PIC16_ALCD_VHB.DSN board
    Include "Proton_4.Inc"

    ' ** Declare Variables **
    Dim Testbits...
  187. Replies
    6
    Views
    822

    Re: Floating point strangeness

    Oops, I only saw the first post:confusion:

    Hi Rick,
    Was the earlier version before signed variables? as it looks like a 2s compliment issue.
    Try making PotVal a signed word or i would say a...
  188. Replies
    4
    Views
    592

    Re: Upgrade procedure validation installer

    Hi,
    Have you moved to procedures.exe?? File to the new directory.

    Bob
  189. Replies
    44
    Views
    10,311

    Re: Boot loader woes.

    Hi,
    On your first point, I use Arduino a lot, I have no intention of using it for the end but as there are generally libraries for modules I have bought I can prove they work before trying to get...
  190. Replies
    44
    Views
    10,311

    Re: Boot loader woes.

    Hi,
    I think you have too many unknows at the moment, I would suggest you get an Amicus18 board first, that way you will be able to prove your USB/TTL cable first as it will come installed with a...
  191. Replies
    71
    Views
    15,763

    Re: Temperature Controller Problem

    Thanks Les, it was the SFR bitnames I needed. I totally forgot about them.
    INTE & INTF needed a 0 in them to INT0E /INT0F

    Bob
  192. Replies
    71
    Views
    15,763

    Re: Temperature Controller Problem

    Hi Les,
    I tried to swap this to 18F25K20 and it did not compile, compiler complained about INTCONBITS_INTF and OPTIONREGBITS_INTEDG and others.
    I had a look in the 18F25K20 datasheet and there was...
  193. Replies
    71
    Views
    15,763

    Re: Temperature Controller Problem

    Hi,
    I think the snippet I posted


    'Split the value into individual numbers for the display
    RPM_THOUSANDS = Dig RPM_INT,3
    RPM_HUNDREDS = Dig RPM_INT,2
    RPM_TENS = Dig...
  194. Replies
    71
    Views
    15,763

    Re: Temperature Controller Problem

    Hi,
    I am assuming you are looking for a wire break situation, I don't normally use analog inputs so I am not sure how they respond but I would expect the value to be zero without an input so where...
  195. Replies
    18
    Views
    1,794

    Re: procedures How do we buy the upgrade?

    Hi Craig,
    I have sent you PM with the email to send to, I did not want to post it here for privacy.

    Bob
  196. Replies
    9
    Views
    1,057

    Re: Bit bang I2C code

    Hi,
    I had the same problem, in the end I pasted it into PDS and added the ' to the start of the lines and then used advanced and posted as code here.

    Bob
  197. Replies
    9
    Views
    1,057

    Re: Bit bang I2C code

    Thanks Les,
    I found this https://www.kammerl.de/ascii/AsciiSignature.php and used s-relief

    ...
  198. Replies
    10
    Views
    898

    Re: Stand alone magnifier

    Hi,
    Plugged it in to the PC and all I get us USB on the microscope, it is installed correctly in Drivers.

    So the question I have is, has anyone used it to capture images directly from the PC and...
  199. Replies
    10
    Views
    898

    Re: Stand alone magnifier

    Hi,
    I used the top link and received it in less than a week, it is brilliant. I am now going to order the aluminium stand which should make it even better.
    I tried it on a plane blade I sharpened...
  200. Replies
    9
    Views
    1,057

    Re: Bit bang I2C code

    Hi Les,
    Thanks for posting that, it has been very helpful. I did not know about the input / output command which is neater and easier than TRIS. Also I did not realise you could use the pData in the...
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4