Search Results - Proton BASIC community web site


Search:

Type: Posts; User: charliecoultas

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    17
    Views
    284

    Re: Microcap now free

    It looks like a fantastic package, thanks for the tip. But I am beginning to doubt my prowess with modern technology:

    Yesterday I decided to clean the rear-view camera on my car, the picture was...
  2. Replies
    39
    Views
    962

    Re: Driver for ILI9341

    Mine are 3.3V with no touch chip. I accidentally put 5V on it a few times with the PicKit2 programmer: they lit up but didn't appear to work on 5V. But on returning to 3.3V all was well again. Phew!...
  3. Re: Symbol not previously defined - Another assemble error

    The "instability" you refer to is often due to MicroChip altering things and getting out of step with reality. Les does a sterling job on the compiler and quite a lot of this time is sorting out...
  4. Re: It's Christmas, how about a bit of giving?

    Done. Les is great, thank you Les. And thanks John for suggesting this.

    Charlie
  5. Replies
    13
    Views
    472

    Re: Proton review

    Nice work John.
  6. Replies
    8
    Views
    267

    Re: Christmas Lights

    Rick

    You cannot be series?

    Charlie
  7. Replies
    4
    Views
    176

    Re: Examining elements of a string

    I just tried this, and it compiles OK.

    Device = 18F26K22
    Declare Xtal=4
    Dim string1 As String * 32

    If string1 [1] = 61 Then GoTo xyz ' $61 = a
    xyz:

    BTW $61 is...
  8. Re: Tesla acquires Maxwell for dry electrode technology?

    Fascinating, thanks David.

    I am a little worried about the long term effects of charging an electric vehicle using "fast charging". I understand that fast-charging a battery shortens its life and...
  9. Thread: ch376

    by charliecoultas
    Replies
    14
    Views
    522

    Re: ch376

    That looks like a useful device. I think Les will be writing a driver for it when he gets the time.
  10. Replies
    39
    Views
    962

    Re: Driver for ILI9341

    I fell into the trap of forgetting that the SPI pins are hardware and not user-definable. PORTC.3 and 5 for 18F26K22.
  11. Replies
    39
    Views
    962

    Re: Driver for ILI9341

    3.3V/3.6V for everything George, I think. The 18F26K22 runs OK on 3.3V
  12. Replies
    7
    Views
    562

    Re: 1 Wire write - bit mode , no reset

    Did you recompile it, and then it didn't work? If so, which version of the compiler did you use?

    Charlie
  13. Replies
    39
    Views
    962

    Re: Driver for ILI9341

    Flosi

    Yes, the touch chip is missing. I found a photo online of the same display with the chip. It is a XPT2046, I have a couple and will try them when I get time.
    I was slightly put off by the...
  14. Replies
    39
    Views
    962

    Re: Driver for ILI9341

    3820

    Here is a photo of the unit that I have got working. The ZIP file contains a working example using this display and Flosi's recent code.
    I have tinkered a little with Flosi's code but only...
  15. Re: Phase offseting PWM to prevent noise on fans

    How about an inductor in the PWM/DC drive to the fans?
  16. Replies
    8
    Views
    465

    Re: 16f688 going to sleep issue

    Just enter the Proton command "Reset". This will effectively do a power-up-start.

    If xyz = abc then
    reset
    endif

    Charlie
  17. Replies
    12
    Views
    766

    Re: PPL setting for 18f27k42

    I tried to find the datasheet Flosi and failed. Either I'm getting too old to carry out a basic search or Microchip's website is useless.
  18. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Wow! I think that's it Bob. Many thanks.
  19. Replies
    20
    Views
    460

    Re: Fusion 360

    I don't know what it is. But if it's anything to do with "the cloud" then count me out.

    Charlie
  20. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Ha! As easy as that. Thanks Les.

    I think you wrote some code for a resistive touch screen but I can't find it. Any help appreciated.#

    Charlie
  21. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Thanks Les.
  22. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Thanks for the feedback Flosi, it's not a problem, your code works fine.

    Your code shows the 18F26K22 running at 80Mhz, how is that done? External crystal + PPL?

    Les, I love your Stylophone. I...
  23. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    The scrolling is great Flosi. I've now managed to get two different TFT modules I have bought working nicely.
    One small point, the scrolling always goes in the portrait direction, even if the screen...
  24. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Thanks Flosi.
  25. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Flosi

    What voltage are you using for the module you describe?

    Charlie
  26. Replies
    11
    Views
    150

    Re: serious problem with 4 bytes float

    Post your code and some kind member of this forum might be able to reduce it in size or point you in the right direction.

    Charlie
  27. Replies
    5
    Views
    125

    [OFFER] Re: Archos 9 PC Tablet

    Thanks Lester. I'll give it a good home.

    Charlie
  28. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Well that's gratifying. The only thing is, if you look on my photo at where the touch interface tracks go, they terminate on a chip that isn't there (the pads are there, but no chip, so no touch...
  29. Replies
    5
    Views
    125

    [OFFER] Re: Archos 9 PC Tablet

    I'll take it Lester, and pay for the postage. Shall I PM you my address?

    Charlie
  30. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Join the club! I had hoped to write an article for the Wiki showing (some of) the range of available modules, their controller type number and who had written some code to drive them. But it's...
  31. Replies
    39
    Views
    962

    Re: Driver for ILI9341

    Excellent! I'll try it out, thanks Flosi.

    Charlie
  32. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Thanks Flosi. I had wrongly assumed that all the Arduino style modules used the ILI9325 controller.

    Charlie
  33. Re: HAVING ISSUE WITH PROC USAGE project is high speed serial backpac

    The colon used to mean "end of statement", so you could put several statements on one line.
    I'm not sure if that still applies. This is OK:

    Case 5
    goto xyz

    Charlie
  34. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    I'm gradually getting further with these displays. Can somebody put me right on this issue please:

    I have bought a few OLED displays. One of the two Arduino-type displays works well with Les's...
  35. Re: HAVING ISSUE WITH PROC USAGE project is high speed serial backpac

    Xtal

    What PIC are you using?

    Charlie
  36. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    The example Les gives in the wiki is parallel. I've used it, it's fast and it worked first time for me.

    Charlie
  37. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    John:

    I am using Flosi's SPI code and the speed is fine. Clearing the screen takes about 0.4 seconds.

    Flosi:

    I have got a couple of OLED modules that claim to have touch, but I can't see any...
  38. Replies
    11
    Views
    98

    Re: SSD1306 lcd problem

    I've only used 64Mhz with these devices and not had a problem. However, I have bought a few of the bigger modules and I can't get one of them to work. It's an Aurduino-stype module with 8+8+6+6...
  39. Replies
    13
    Views
    336

    Re: SD File System revisited

    Nice work Alberto.

    Charlie
  40. Re: One mans meat is another mans poison

    When I was feeling really down, and was asked if my glass was half full or half empty, I replied that my glass was broken.
  41. Replies
    11
    Views
    98

    Re: SSD1306 lcd problem

    If it's any help, I have four of these, all from the same place, and all four work OK. I am using Dompie's code as well.
    It's not a 5/3.3V issue is it? I use 18F26K22 64Mhz, 5V.

    Sounds like you...
  42. Thread: Hi All

    by charliecoultas
    Replies
    10
    Views
    85

    Re: Hi All

    It's good to know you're still around.

    Charlie
  43. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Teo

    Flosi's code will do BMP. I think this is the right place to find his code: http://www.protonbasic.co.uk/showthread.php/78176-Driver-for-ILI9341

    There is an example in the zipped file...
  44. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Les, George

    Is a "backpack" a device which sits between some "standard" software and a "non-standard" display module?
    So you could for example drive one the OLED 320x240 displays without having...
  45. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    G'day John

    That's the sort of thing I had in mind, but I'm not so sure that the different size displays all have a common controller.
    I will compile a list of modules and their controller names,...
  46. Replies
    8
    Views
    91

    Re: Strange compile for a 16F628A

    I just tried to compile your code and got an error because the label Isr is missing (On_Hardware_Interrupt goto Isr
    Where is the interrupt routine?

    Charlie
  47. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Flosi

    Yes, I found loads of them too and have ordered one that looks good.
    Good to hear about your update plans, nice work.

    SebaG

    That's a good forward plan. I will try to draw all the...
  48. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Flosi

    An SD socket and touch would be ideal for what I have in mind, I'll see if I can find the module you describe.

    Is there any chance that you could include vertical scrolling (in portrait...
  49. Replies
    21
    Views
    2,158

    Re: 3x4 alpha numeric keypad

    Fanie

    It's good to hear from you. How is the book coming along?

    Charlie
  50. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Hi John. I wired up the module, ignoring CE, put Flosi's code in an 18F26K22 and bingo, it works.
    There was no data with the ILI1934 of course, but it looks a nice neat module. Mine only has 8 pins...
  51. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Some trawling on the web has revealed that CE is wired low inside the unit, so it's not needed.
    Also, it seems that the device is 3.3V not 5V. So I'm getting somewhere..

    Will report back when...
  52. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    My first ILI9341 module has arrived and I'm all set to have some fun. But my device has 8 pins:

    GND VCC CLK MOSI RES DC BLK MISO

    But Flossi's code needs a CE pin. I don't seem to have...
  53. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Guinness? plus some padding to make this message longer than......
  54. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Yes George, Les explained the anomaly and its correction in post number #9. I am in Barcelona until Wednesday after which I will be full steam on getting these displays working for my current and...
  55. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Flosi

    I can guess what is in the 18F26K2265Mhz file.

    Edit: Got it, thanks Flosi.

    Charlie
  56. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Thanks Les, I'll make the changes and press onwards. I have ordered a ILI9325 module and designed a pcb for it.

    The Chinese company Elecrow make lovely two-sided pcbs for $4.90 for five (although...
  57. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Thanks Flosi. I will give your suggestion a try as well.

    When I compile your ILITest I get the error: Cannot locate include file "18f26k2264MHz.inc"

    Charlie
  58. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Hi John

    I also had great success with the little 0.96" display and decided to go a big bigger. I have one of these on order:
    ...
  59. Replies
    88
    Views
    538

    Re: Les's ILI9325 Wiki code

    Thanks George, that looks promising. I haven't got the actual display yet, but I think you might be on the right lines.

    Charlie
  60. Replies
    88
    Views
    538

    Les's ILI9325 Wiki code

    I am trying to use Les's code for the ILI9325 controller (from his excellent wiki article). I think I have got the hardware sorted but I get assembler errors about the PRINT command: Symbol not...
  61. Re: Cell phone charger as a power supply?

    I use them too. But I took a cheap imported one apart some time ago and the insulation between the primary (mains) and the secondary circuit was a single thin layer of yellow tape.

    Charlie
  62. Replies
    2
    Views
    46

    SSD1306 display

    I want to thank Dompie (andGabi, VaGyver, Ray Ellam and Les) for the SSD1306 code in the Wiki section.

    I expected the usual battle (which is invariably down to me) but it worked first time....
  63. Re: Electronic roulette with PIC microcontroller

    I used Les's code for a project with WS2182 and it worked beautifully. I can't see how speed could be a problem with the higher clock speeds now available.

    Charlie
  64. Replies
    6
    Views
    76

    Re: 18F26K22 can't use PORTC.0 or 1

    SORTED! Thanks Henk, it was because the secondary oscillator was enabled.
    I had bit 3 of OSCCON2 set, which ties up PORTC.0 and 1.

    Charlie
  65. Replies
    6
    Views
    76

    Re: 18F26K22 can't use PORTC.0 or 1

    Dave: Yes, tried LATC.0 and LATC.1, no difference, no blinky.

    Hank: Yes, everything else works perfectly:

    OSCCON = 110000 ;16MHz internal...
  66. Replies
    6
    Views
    76

    Re: 18F26K22 can't use PORTC.0 or 1

    Neither can mine that's why I used my scope.
  67. Replies
    6
    Views
    76

    18F26K22 can't use PORTC.0 or 1

    Hi everybody

    I've been away for quite a while, it's good to be back.

    My favourite device is 18F26K22 but I have never used PORTC.0 and 1 as digital IOs.
    I cannot get a blinky to work on these...
  68. Thread: Usb - c

    by charliecoultas
    Replies
    9
    Views
    71

    Re: Usb - c

    Well, draw the curtains and call me Gladys!!
  69. Re: PIC24FJ256GA705 Family Devices Are They Fully Supported in Proton 24 ?

    Hi Craig

    I have used 24HJ128GP502 and GP504 for quite a few projects and all has been fine (except for self-inflicted problems).

    If you are looking for a guarantee that everything will be fine...
  70. Replies
    5
    Views
    250

    Re: 18F26J50 and 18F26K53 as Hosts?

    If the keyboard is the USB "slave", then the PIC they are talking about must be a Host. It looks to me that the app note says these devices can act as Hosts and thus control the keyboard.

    I bought...
  71. Re: Streaming the same audio track in real time to two different locations

    Hi Shantanu

    I can't offer anything for the radio/whatever link, but I can forsee a problem if the display is a long way from the people:

    The sound will appear to lag the lights if it's far...
  72. Re: Help With OLED Display / 128X64 SSD1306

    Thanks Simon, I'll give it a try.
  73. Re: Help With OLED Display / 128X64 SSD1306

    Simon

    Where did you get the SSD1306? I can find a device called SSD1306 but it has far more than four connections.
    I can't find one that looks like the one in your last photo.

    Charlie
  74. Replies
    4
    Views
    70

    Re: Forum withdrawal

    Hi Rick. Don't worry. Lester seems to have it all under control.
    You OK?

    Charlie
  75. Replies
    48
    Views
    4,761

    [SOLVED !] Re: mcp41*** Microchip Digital Pot

    A good point. Looks easy doesn't it?
  76. Replies
    48
    Views
    4,761

    [SOLVED !] Re: mcp41*** Microchip Digital Pot

    I suppose the real difficulty with the Theremin or anything that is played using hand positions, is that it is so bloody difficult to position your hands with the accuracy needed. You could make the...
  77. Replies
    23
    Views
    1,804

    [SOLVED !] Re: Help for Fatigue testing controller

    I have a feeling that DELAYMS with a value of zero specified will wait forever.
    I think you code might do this.
  78. Replies
    48
    Views
    4,761

    [SOLVED !] Re: mcp41*** Microchip Digital Pot

    60cm is about two feet in old money. I would be happy with that range on a theremin-type device.
    Why do you think otherwise?
  79. [SOLVED !] Re: PIC16F18877 - problem with serial out - HRSOut

    What is the version number of the compiler you are using?
  80. Replies
    48
    Views
    4,761

    [SOLVED !] Re: mcp41*** Microchip Digital Pot

    It is John. We fly to Perth on 7 April, India Pacific Railway from Perth to Adelaide on 14/15/16 April, Adelaide to Melbourne 17 April, Melbourne to Sydney 21 April, Sydney to Cook Islands 26 April....
  81. Replies
    48
    Views
    4,761

    [SOLVED !] Re: mcp41*** Microchip Digital Pot

    Now that sounds very interesting! You might be on the verge of inventing the Harmomin.

    Please keep me informed. Trouble is I'm travelling abroad from the end of March for two months but my wife...
  82. Re: Pic resets after writing 27 files to SD

    Hi Jez

    Glad you've got it sorted. What is "proc AltiGPS()"?
  83. Replies
    48
    Views
    4,761

    [SOLVED !] Re: mcp41*** Microchip Digital Pot

    Hmm, that chip looks like a good starting point. I am currently doing a project for the National Museum of Computing at Bletchley Park, and I can't allow myself to be distracted. But a digital...
  84. Replies
    7
    Views
    83

    [SOLVED !] Re: Anomaly for les

    Ah, sorry. Just realised that \3 means 3 characters, not character number 3.
  85. Replies
    7
    Views
    83

    [SOLVED !] Re: Anomaly for les

    I think its something to do with the "Str" in the SerOunt command.

    Try SerOut DEBUG_OUT,84,[FLASH_DAT[3]]
  86. Replies
    48
    Views
    4,761

    [SOLVED !] Re: mcp41*** Microchip Digital Pot

    Just looked it up online and it's a pretty basic tone generator with bells and whistles. It's the hand-proximity that gives the Theremin its appeal for me. If I get time, I'll look into capacitive...
  87. Replies
    48
    Views
    4,761

    [SOLVED !] Re: mcp41*** Microchip Digital Pot

    Hadv: have you seen any references to building a Theremin using a PIC (preferably a PIC24)?

    I built a true analogue Theremin using un-locked oscillators but I am sure there is a modern shortcut...
  88. Re: Pic resets after writing 27 files to SD

    Les

    If you kept accidentally appending to a string, would this eventually overwrite something and cause trouble?
    Just a hunch of what could be causing Jez's problem.
  89. Re: Pic resets after writing 27 files to SD

    Thanks for the feedback Jez. Do you suspect that the str modifier is faulty, or your use of it?
  90. Re: Pic resets after writing 27 files to SD

    Sounds like a good diagnostic plan Jez.
  91. Re: Pic resets after writing 27 files to SD

    Hmm, I suspect that something is saving a number of bytes on the stack but then restoring more or less than this, leading to eventual stack over/underflow. You have proved this by increasing the...
  92. Replies
    39
    Views
    962

    Re: Driver for ILI9341

    Is this any good? I use it with my preferred device of 18F26K22
  93. Re: Pic resets after writing 27 files to SD

    Glad it helped. When I saw all those includes it reminded me of a similar thing that happened to me. If something calls something else and that calls something else.... then eventually the stack will...
  94. Re: Pic resets after writing 27 files to SD

    Jez

    Try increasing the stack size:

    Declare Stack_Size = 500 'I think the default is 420

    if something is overfilling the stack then the "magic" number 27 should change.

    Charlie
  95. Replies
    14
    Views
    58

    Re: Pickit2 firmware

    Thanks Rick, I'll give it a try.
  96. Replies
    20
    Views
    94

    Re: Use of the Proton 3.7.0.3 version

    Just used my first procedure wth vsn 3.7.0.3: brilliant. Thanks Les, it works a treat and will be very useful.

    Charlie
  97. Replies
    14
    Views
    58

    Re: Pickit2 firmware

    My PicKit2 sometimes loses its firmware for no apparent reason. Mine is the same vsn as George's.
  98. Replies
    13
    Views
    39

    Re: Cheap programmer or waste of money

    A question that has worried me and some others on the forum is this:

    Does PicKit2 use flash ram internally when you program a chip? In other words, is the life of PicKit2 so many thousand...
  99. Replies
    37
    Views
    91

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

    I'll take some photos for you on Monday to show you the 807's.
  100. Re: LCD05 I2C interface to HD44780 LCD display

    Thanks Les.
  101. Re: LCD05 I2C interface to HD44780 LCD display

    Yes that's an option. Speed is fairly important but it's not essential. Thanks.
  102. Re: LCD05 I2C interface to HD44780 LCD display

    Thanks Les, that's what I remembered seeing.

    Would this work on a P24 chip?
    Charlie
  103. Re: spi interface to HD44780 LCD display

    George, Rick

    Thanks, you've set me in the right direction. I'll get one of the hardware backpacks and take it from there.

    Charlie
  104. spi interface to HD44780 LCD display

    Not very long ago I saw an article by Les about driving a standard HD44780 LCD via spi.
    Could somebody kindly point me in the right direction, I can't find it.

    I want to drive a 40x2 LCD but I...
  105. Replies
    5
    Views
    156

    Re: Can some kind soul explain this

    Neat, very neat!
  106. Replies
    37
    Views
    91

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

    The Colossus computer uses 807's where a hefty pulse is needed that is distributed to several sections, counter resets etc.
  107. Replies
    8
    Views
    32

    Re: Replace existing async with sync

    As Dave says, a USART is much more efficient than big-banging it yourself. It does everything "outside the loop" and tells you when it's done. Also, sync comms (using a USART) needs in/out data AND a...
  108. Replies
    11
    Views
    61

    Re: Ethernet to RS232 converter

    Looks very interesting George.
  109. Replies
    14
    Views
    79

    Re: Remote programming with Pickkit2

    I often power the circuit from PK2, and am surprised how current it can deliver. What did you find that makes you say never to do it?
  110. Replies
    13
    Views
    106

    Re: Baud rate problem

    I meant that if I compiled on desk pc it failed, if compiled on laptop it worked. The rs232 comms was between a 24 series chip and a music player. Very odd as both vsns of compiler were latest.
    ...
  111. Replies
    13
    Views
    106

    Re: Baud rate problem

    Nothing to do with the PC George, problem is confined to the 24HJ128GP502 chip.

    No serial ports involved, just a 115,200 inerface to a VLSI VS1000 music module, which is part of a model for the...
  112. Replies
    13
    Views
    106

    Re: Baud rate problem

    I'm setting the baud rate of a 24HJ128GP502 PIC George, thankfully there's no Windows involvement.
    The "desktop PC" holds the compiler, sorry but I can see the possible confusion. The PIC is...
  113. Replies
    13
    Views
    106

    Re: Baud rate problem

    Thanks Les, Norm. I tried using my laptop to compile and the results differ. My desktop PC has the problem, the laptop gives the right result. Same vsn of compiler, 1.0.5.1 on both. U1 is set to...
  114. Replies
    13
    Views
    106

    Re: Baud rate problem

    By trial and error I have got it working. I output 10 bytes and kept adjusting the serial baud rate until the ten bytes took 830uS on the scope. The Hserial_Baud was setting 530,000. The music player...
  115. Replies
    13
    Views
    106

    Re: Baud rate problem

    Thanks Simon, that helps.

    Yes Norm, it works fine at 9600. I tried a few different Declare HsSeirial_Baud = with the following result:

    9600 about 1mS byte width which seems right
    19200 ...
  116. Replies
    13
    Views
    106

    Baud rate problem

    I am trying to run one of the USARTs on a 24HJ128GP502 at 115,200 bits/second.

    I thought I had defined the clock frequency wrong but Delayms gives the expected result on my scope.

    I'm pretty...
  117. Replies
    37
    Views
    91

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

    Round The Horn: Apparently the BBC were quite unaware of all the double-entendres that Kenneth Williams and others put into the show for quite a long time.
  118. Replies
    26
    Views
    94

    Re: Valid time in NMEA sentance

    I found that certain U-Blox receivers were a few seconds out until the Leap-Second-Correction had been applied. This is applied every 12.5 minutes.

    See here:...
  119. Replies
    18
    Views
    92

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

    Well done Les!
  120. Replies
    3
    Views
    20

    Re: Self update PIC

    Several folks on this forum have done a lot of work with "bootloaders". Try searching for that.
  121. Replies
    37
    Views
    91

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

    Going back even further, who remembers: Mrs Dale's Diary, Take It From Here, The Goon Show, Forces Favourites, The Navy Lark (all on radio). On TV: Muffin The Mule (before it was made illegal), Andy...
  122. Replies
    13
    Views
    69

    Re: Barking dog

    I'll bet Fanie has a suitable suggestion.......
  123. Replies
    13
    Views
    67

    Re: Internal clock calibration

    I have used a few of these on "clocks" and yes, they work indoors. But I'm not sure they would be work in multi-story buildings. Some of these cheap GPS, with antenna, give the time a few seconds out...
  124. Replies
    13
    Views
    67

    Re: Internal clock calibration

    Even if you got the clock exactly in step with GPS, I would guess that subsequenty, as the temperature changed, the clock would drift.
  125. Replies
    11
    Views
    336

    Re: 16f753 DAC

    What happens when you try to run it?
  126. Replies
    37
    Views
    91

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

    My passion for electronics came from a guy who lived opposite us called Mr Greenwood. I must have been about 7 or 8. He made me a crystal set in a lovely polished wooden box. That got me started. The...
  127. Replies
    37
    Views
    91

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

    Oh yes they did.
  128. Re: Dongle Issues with Windows 7 64 Bit. Making it difficult to use already purchased

    Yeah. It sounds as though you're having fun with 3D printing. We made a few 3D things at work and de-lamination was a problem.
    I like your idea of driving 7 seg displays with 8 bit latches, I wish...
  129. Replies
    7
    Views
    76

    [SOLVED !] Re: How to invert BYTE order

    Try something like this:

    Dim AAA As Byte 'the byte you want to reverse
    Dim BBB As Byte 'reversed result
    Dim K As Byte
    Dim MyBit As Bit 'work bit

    For K = 0 To 7
    ...
  130. Replies
    7
    Views
    76

    [SOLVED !] Re: How to invert BYTE order

    I think he wanted to swap the positions of the bits, not invert the whole thing,
    Les did a smart routine some time ago but I can't remember where.

    Charlie
  131. Re: Update on procedures in the Proton BASIC Compiler

    Good work Les. You know how much we all appreciate your fabulous work on the compiler, it just keeps getting better and better. Happy New Year to you and everybody.

    Charlie
  132. Re: Dongle Issues with Windows 7 64 Bit. Making it difficult to use already purchased

    Hi Fanie

    Good to hear from you. I'm OK, how about you?

    Charlie
  133. Re: A very Merry Christmas to you all

    Hoping you and yours have a good Christmas Les. I am very proud to be a member of such a knowledgeable and good-natured forum. We all appreciate your input and willingness to put things right and...
  134. Replies
    6
    Views
    39

    Re: code improvement

    I did this for speed on my 803 computer emulator:

    on HallMotorLeftValue gosub abc1, abc2 abc3 etc

    abc1: set the bits you need then
    return

    abc2: set the bits...
    return
  135. Re: Procedures in the 8-bit Proton Compiler

    You certainly can "still do it" Les, many thanks. This will be a very welcome and useful facility.

    Charlie
  136. Replies
    41
    Views
    216

    Re: Advertisement on the forum

    Paypal suits me, this forum is well worth a decent donation every year.
    Where does Les fit into the income generated because he is also a Very Important Person?

    Charlie
  137. Replies
    41
    Views
    216

    Re: Advertisement on the forum

    Happy to pay for the forum with no adverts.

    Charlie
  138. Re: What does Access mean after dimensioning a variable?

    Thanks George, that's useful to know.

    Charlie
  139. Replies
    41
    Views
    216

    Re: Advertisement on the forum

    I also agree that if it help to pay for the site then I'm OK with it.
    But I won't subscribe to Amazon Prime.

    Best to all
    Charlie
  140. Replies
    73
    Views
    25,566

    Re: PIC iPod wav player

    Thanks Bob but the link to iPod player doesn't work. I am now doing the job with a 24 bit PIC, I know I can get that going OK.

    Best
    Charlie
  141. Replies
    2
    Views
    32

    SD routines for 18F series

    I've used the SD routines very successfully for the P24 chips, but now I
    need to attach an SD card to a 18F26K22. Do such routines exist and if so, where?

    Charlie
  142. Re: P24 (using Procedures) for 18F Pics??

    I agree with all the above, and would be happy to pay for such a great compiler and support.

    Charlie
  143. Replies
    33
    Views
    2,036

    Re: Multiple functions by a single switch

    I think what he wants is like Joseph suggested: hold the switch down for a short time is one function, a bit longer for the second and so on.
    I seem to remember Les describing a single button that...
  144. Replies
    4
    Views
    37

    Re: Chocolate egg delivery mechanism

    Thanks Tim. I love the idea of a ski-lift chair. Yes, I understand the paddle wheel idea.
    The "eggs" are little spherical chocolates wrapped in thin metal foil. They are about 1cm in dia and very...
  145. Replies
    4
    Views
    37

    Chocolate egg delivery mechanism

    The museum is constructing a spoof version of the Heath Robinson machine (which preceded Colossus). It is largely my project.
    I can't say much more at this stage but we need to deliver single...
  146. Replies
    14
    Views
    62

    Re: PIC18F1330 PLL problem

    I don't know where I've seen this Rick, but put a couple of nop's between the OSCCON and OSCTUNE instructions.

    Charlie
  147. Replies
    6
    Views
    41

    Re: 1602 LCD problem

    I've used some very cheap ones recommended by Les with success.
  148. Re: How to pick apart a binary include file

    Hadv: That's exactly what I was on about, good work.
  149. Re: How to pick apart a binary include file

    Good work hadv! I think a better definition of an "include" file would say that it allowed Proton code to be included in a program in a structured way.
    The compiler will still look at your hex code...
  150. Re: How to pick apart a binary include file

    hadv,

    Surely the compiler expects code in the include file? SCV says that it is binary.
    I tried it with an exe file renamed to .inc and the compiler "couldn't find it".
  151. Re: How to pick apart a binary include file

    I did a similar thing for upgrading the firmware on an alien micro-controller. I converted the binary to hex, stored that in my Proton prog, then read it using Cread commands. Worked fine.
    In your...
  152. Replies
    30
    Views
    126

    Re: 3D printer. Yey!!!!

    That looks like a nice piece of kit Les. I know little about 3D printing, is the software easy to drive, and does one have to buy a software package?

    Charlie
  153. Replies
    5
    Views
    29

    Re: Happy Birthday AlbertoFS

    Belated birthday wishes Alberto. Yes, keeping the brain active is sooo important.

    Charlie
  154. Replies
    10
    Views
    37

    Re: HBUSIN stops program?

    Frizie

    The two HBSIN commands are commented out, but I guess that's not the problem.

    Charlie
  155. Replies
    32
    Views
    382

    Re: New PICkit 4 available

    Frizie

    Thanks for taking the trouble to explain that. I'm sure many members will find it useful.

    Charlie
  156. Re: Compiler give error if more than 50 times is used directive "Include"

    It's because the ISO (international Standards Org) have got into bed with Microchip. Stranger things have happened.....
  157. Re: Compiler give error if more than 50 times is used directive "Include"

    Hey Les

    The International Standards Organisation have just redefined the BYTE. It now has 9 bits.
    When you have a minute could you mod the compiler please?

    Best
    Charlie
  158. Replies
    12
    Views
    55

    Re: Electromagnetic display

    You've just re-invented ferrite core memory Ken!
  159. Replies
    18
    Views
    74

    Re: Inexplicable fault. Any tips?

    Some of today's music sounds better "without loudspeakers connected!".

    Charlie
  160. Replies
    18
    Views
    74

    Re: Inexplicable fault. Any tips?

    A piece of insulated cable that has a break in it?
  161. Replies
    16
    Views
    83

    Re: Compiler problems

    Peter

    This is a long shot: load the compiler and copy/paste this in, then click "compile":

    Device = 18F26K22
    Declare Xtal = 64


    Charlie
  162. Replies
    15
    Views
    3,130

    Re: RC522 RFID Code

    As Joseph says, this would make a good article for the Wiki

    Charlie
  163. Re: 24EP256GP204 external interrupt problem

    Hi Tadd

    Are you sure that A.4 is the input? I would guess that a floating pin might cause the trouble you are having.

    Charlie
  164. Replies
    16
    Views
    83

    Re: Compiler problems

    Peter

    Sometimes, after editing a source, the compiler locks up half way through the compilation. It's as though Win10 has forgotten about it.
    The only solution is to re-boot Win10. It happens on...
  165. Replies
    103
    Views
    331

    Re: Malware on this website?

    Lester, we appreciate your hard work very much. Sorry I can't be more help.

    Charlie
  166. Replies
    103
    Views
    331

    Re: Malware on this website?

    I'm very willing to help, but as John says, how?

    Charlie
  167. Replies
    103
    Views
    331

    Re: Malware on this website?

    Are we saying that somebody has posted a link that points at a suspicious site?

    Charlie
  168. Replies
    4
    Views
    31

    Re: Drawing lines on CRT screen

    Thanks John, that looks just the thing.

    Charlie
  169. Replies
    4
    Views
    31

    Re: Drawing lines on CRT screen

    Thanks Teo but I want to write some code that will plot lines on my screen.
    I have all the hardware.

    Charlie
  170. Replies
    4
    Views
    31

    Drawing lines on CRT screen

    I have a cathode ray tube and the XY plates are driven by two 12 bit DACs.
    I need to draw lines from the centre of the tube (0,0) at various angles. The DACs
    are connected to a 18F26K22 running at...
  171. Re: Compiler 3.6.1.7 issue with 16F1829 and I2C-LCD

    Henk

    As George suggested, you are not alone, we have all been to similar places. Hang in there.
    Les will get back to you.

    Charlie
  172. [SOLVED !] Re: Latest compiler updates (2018) - will upgrade any version?

    Thanks Stephen, George. I am always nervous about changing the registry - I can do plenty of damage anyway!
    I'll try it when I am sure everything is safely backed up.

    Charlie
  173. [SOLVED !] Re: Latest compiler updates (2018) - will upgrade any version?

    Oh, I would say yes you should use the post #10 version, then apply the latest update. The troubles I am having go back earlier.

    Charlie
  174. [SOLVED !] Re: Latest compiler updates (2018) - will upgrade any version?

    Ever since I wound back Win10, and reloaded an earlier vsn of Proton, I get the message "Critical database error - unable to continue" at the bottom of the Proton editor screen. The compiler works,...
  175. [SOLVED !] Re: Latest compiler updates (2018) - will upgrade any version?

    I'm almost there George. One final question: how do you know it's a "full install". The update section says not to uninstall the previous vsn because this is an update.

    Where is the "full...
  176. [SOLVED !] Re: Latest compiler updates (2018) - will upgrade any version?

    I think I see. Finally, where do I get a Full Install from please George. My old one disappeared when I wound back Win10.

    Charlie

    Found it. I'll try that....
  177. [SOLVED !] Re: Latest compiler updates (2018) - will upgrade any version?

    ..which still begs the question: If you have missed some "updates", is it OK to apply later updates or does a later update include all previous updates?

    If I'm being thick then forgive me.
    Charlie
  178. [SOLVED !] Re: Latest compiler updates (2018) - will upgrade any version?

    Guess what happens if you DO uninstall the previous compiler and then install just an update?
    It seems to work but there is no assembler listing visible, quite a few things are not there, but it...
  179. Replies
    40
    Views
    142

    Re: Programmable RF oscillators

    Like I said in the previous post, there are no anomalies up to 210Megs.

    Charlie
  180. Replies
    1
    Views
    22

    Display photo for Les

    Sorry Les, I couldn't attach this photo to my PM. I think this should work.
    http://www.electricstuff.co.uk/auctions.html


    3519

    Charlie
  181. Replies
    40
    Views
    142

    Re: Programmable RF oscillators

    Just checked with our frequency meter at work. Up to 210MHz it is pretty spot-on with no jumps or strange behaviour, can't go any higher, the meter gives up.

    This is with Les's original Synth...
  182. Replies
    9
    Views
    176

    Re: Is SPI SHout interruptible

    Relating to interrupts and spi: I have found that reading an SD card (using Les's SD library rtns) using spi works fine. But when I allow this to be interrupted (by Timer 2 on a 24 bit PIC) it...
  183. Replies
    40
    Views
    142

    Re: Programmable RF oscillators

    I'll check on Tuesday back at work, if we're too too busy. We have a frequency meter.

    Charlie
  184. Replies
    40
    Views
    142

    Re: Programmable RF oscillators

    Thanks John. 1500MHz is way too high for what we need. The waveform is a bit squarish below 100MHz but gets better as the frequency goes up.
    The errors you mention might be due to a programming...
  185. Replies
    40
    Views
    142

    Re: Programmable RF oscillators

    Just got the RF synth board working using Les's code. Thanks Les, your code works perfectly! Will post more when I know more.
    Charlie
  186. Replies
    26
    Views
    125

    Re: Dim xxx as code problem on P24

    Sorry Les, I missed this when I PM'd you. Thanks, that will be very useful to me and hopefully others.

    Charlie
  187. Replies
    26
    Views
    125

    Re: Dim xxx as code problem on P24

    Thanks John, it was a much needed rest. In winding back to an older Win10. I lost quite a few things but things seem OK again.

    Thanks to everybody who helped, I think it was a registry issue, as...
  188. Replies
    26
    Views
    125

    Re: Dim xxx as code problem on P24

    Thanks guys. I am going away for the weekend. Will pick this up next week, probably a new PC will be the answer.

    Charlie
  189. Replies
    5
    Views
    32

    Re: 18F26K42 Eeprom anyone?

    Window cleaning is looking more attractive....
  190. Replies
    26
    Views
    125

    Re: Dim xxx as code problem on P24

    Thanks Henk, I've just done that. Lot's of things have disappeared but the problem is still there! Can't find the compiler.
    I will try another install of the latest version....
  191. Replies
    5
    Views
    32

    Re: 18F26K42 Eeprom anyone?

    I seem to remember Les saying that the memory in the 18 series was linear and we didn't need to worry about banks?

    Charlie
  192. Replies
    26
    Views
    125

    Re: Dim xxx as code problem on P24

    Does CCleaner clean the registry? If so then I have done all of those things George, at least twice. The problem is that the editor find can't see the compiler.
    As you suggested, I pointed the...
  193. Replies
    26
    Views
    125

    Re: Dim xxx as code problem on P24

    Ha, good one Rick!

    I know that you are interested in the Turing Welshman Bombe move to our museum. The new gallery was officially opened last Saturday:
    ...
  194. Replies
    26
    Views
    125

    Re: Dim xxx as code problem on P24

    I wasn't offended Fanie. That moment when the led flashes or "HELLO WORLD" happens is a special moment that many of us have shared.
    That moment when you realise that you are not going to get any...
  195. Replies
    26
    Views
    125

    Re: Dim xxx as code problem on P24

    Dammit! The directory chain in the "Find manually" is correct. The two compiler files are there but the editor refuses to "see" them. It's as though it is looking somewhere else entirely. Good try...
  196. Replies
    26
    Views
    125

    Re: Dim xxx as code problem on P24

    George, I think you may have found the answer. I'm at work at present but will try it later when I get home.
    Many thanks in advance.

    Thanks Henk but I already tried most of that (it's a desktop...
  197. Replies
    26
    Views
    125

    Re: Dim xxx as code problem on P24

    Fanie

    Thanks for replying. There are now two issues:

    It always compiled OK and ran. But it gave the wrong results. I reduced the size to a "compilable snippet". I suspect the compiler doing...
  198. Replies
    26
    Views
    125

    Re: Dim xxx as code problem on P24

    I have removed the whole Proton compiler suite, then downloaded the latest vsn from the forum website. It seemed to install OK.
    The IDE is there, I can load a source but when I press Compile, it...
  199. Replies
    26
    Views
    125

    Re: Dim xxx as code problem on P24

    After trying to revert to an earlier vsn of the compiler, I now can't do anything!

    I loaded an earlier vsn and, with the source above, it said "Error in device info section of ppi file"

    Please,...
  200. Replies
    26
    Views
    125

    Dim xxx as code problem on P24

    I have just spent two days on a problem and I think it is a problem in text handling "As Code" in P24.
    I have reduced it as far as I can. Running this should give:

    0 29
    1 30
    2 31 etc

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