Search Results - Proton BASIC community web site


Search:

Type: Posts; User: towlerg

Page 1 of 5 1 2 3 4

Search: Search took 0.06 seconds.

  1. Thread: Rc-522

    by towlerg
    Replies
    2
    Views
    35

    Re: Rc-522

    Les, you obviously have seen this board before, odd that both SPI and I2C appear to be brought out to the 8 pin connector.
  2. Thread: Rc-522

    by towlerg
    Replies
    2
    Views
    35

    Rc-522

    Ages ago I got one of these RFID modules
    3831

    it would appear to have SPI, I2C and async. Does anybody know how to select the interface?
  3. Replies
    7
    Views
    136

    Re: Need some help from a VB expert

    From a position of blissful ignorance I would have thought the added complication of .net could only make the task easier.
  4. Replies
    7
    Views
    107

    Post in reverse order?

    id it just me or has the order of posts within a thread been reversed? Newest post at the top.
  5. Replies
    33
    Views
    492

    Re: Driver for ILI9341

    I think I get it. The location is intentional? Set by
    which I guess are XY coordinates?

    You really have made a very sweet demo.
  6. Replies
    33
    Views
    492

    Re: Driver for ILI9341

    @Flosi. I ran your fine ILI9341 code and demo but on a 18F25K50, it worked fine except on the menu demo the battery icon was displayed in two parts toward the bottom of the display. Any idea what dim...
  7. Replies
    10
    Views
    325

    Re: Rfid read procedure

    Ain't that the truth!
  8. Replies
    0
    Views
    62

    ILI9341 LCD module with touch

    I see on eBay there are cheap ILI9341 modules populated with the touch IC. They come with a stylus, which makes me wonder if they only work with the stylus and not the mk I finger? Anybody have...
  9. Replies
    7
    Views
    419

    Re: Support for 18LF26K22 and 18LF45K22

    The more recent PIC devices work over such a large range that it is rarely necessary to use LF devices. At what voltage are you trying to work?

    If you try to program a LF device which you have...
  10. Replies
    8
    Views
    231

    Re: 10Hz to 10KHz Frequency Generator

    The Mikroe one is here here , a personal favorite.
  11. Replies
    8
    Views
    345

    Re: 16f688 going to sleep issue

    I'm pretty sure Reset is an assembler mnemonic not a command and not available on older 16F devices.
  12. Replies
    7
    Views
    375

    Re: 1 Wire write - bit mode , no reset

    I take your point, it's just the jump to no_pres (which is the mode) that threw me. I wondered if the syntax had changed.
  13. Replies
    33
    Views
    492

    Re: Driver for ILI9341

    Thanks Charlie.
  14. Replies
    33
    Views
    492

    Re: Driver for ILI9341

    It took ages for the LCD to be delivered and now I'm frightened of blowing it up. I have the same LCD as post #24. What voltage are we using for the Pic, for the LCD VCC and for the backlight? or is...
  15. Replies
    10
    Views
    396

    Re: PIC16F676 External Clock Configuration

    I suspect that you do not have the Fuse Configurator plugin installed, if not strongly suggest you do so now. It takes the hassle out of setting fuses and is strongly recommended by all.

    You need...
  16. Replies
    7
    Views
    375

    Re: 1 Wire write - bit mode , no reset

    Are you sure you have the syntax correct? or maybe it's changed but according to the manual it's

    Owrite Pin, Mode, [ Outputdata ]

    where Pin = a pin of a port like PortA.2 (you probably have dq...
  17. Replies
    10
    Views
    396

    Re: PIC16F676 External Clock Configuration

    I havn't tried this but 16F690 would appear to have only 2 modes that generate a clock ie EXTRCCLK and INTRCCLK (CLKOUT function), neither use a crystal.

    The only way I can see this work with a...
  18. Re: Phase offseting PWM to prevent noise on fans

    Out of the box. It can't be optimal to run all the fans at the same speed. Make a small board with a Pic that controls the fans.
  19. Replies
    10
    Views
    396

    Re: PIC16F676 External Clock Confgration

    Can you be a little more specific. Are both Pic devices PIC16F676, does one have a crystal or internal clock. I assume you want one PIC to generate a clock and the other to use that clock?
  20. Replies
    24
    Views
    164

    Re: New Prusa mini 3D printer

    Why I'm buying a Prusa Mini.

    For me, build volume is not a major factor. I want to make functional things, (boxes, brackets, clips etc.) so surface finish is much less important than maintaining...
  21. Replies
    12
    Views
    558

    Re: PPL setting for 18f27k42

    Most odd that high speed async but not low.

    I don't know is this is relevant or even current but I found that to achieve 9600 baud on an internal 64Mhz clock I had ti apply the following work...
  22. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    346

    Re: Fusion 360

    Oh, whats a good 3d forum? (no social media please) seriously considering byteing the bullet.
  23. Replies
    4
    Views
    274

    Re: dword to float changes, lost of accuracy

    As John says, it's the nature of the beast. Any compiler that uses Microchip floating point format (which I suspect is all of them) has the same problem.
  24. Replies
    19
    Views
    676

    Re: PPS for 8bit Microchip Micocontrollers

    There is a Proton plugin for PPS but only for 16bit devices. So, although there is some concern about the veracity of mc config files (which is both worrying and amusing), I find the tool excellent...
  25. Replies
    6
    Views
    441

    Re: Inscrutable eeprom problem

    No, I mean % and $. Just a guess
  26. Replies
    6
    Views
    441

    Re: Inscrutable eeprom problem

    Is it a figment of the board are you missing radix indicators (%, $, etc.)?
  27. Replies
    7
    Views
    838

    Re: ICD2, ICD3 or QL200 dev board

    I wonder if you can use ICD2/3 as programmers using IPE (part or Mplabx)
  28. Replies
    72
    Views
    446

    [OFFER] Re: Proton MKII Development Board

    Accepting all of the previous post, do you have any Amicus main boards? because if you do I'd be happy to swallow the post. I would of bought one previously but it seemed a new version was in the...
  29. Replies
    12
    Views
    558

    Re: PPL setting for 18f27k42

    Even a simple task like getting the oscillator running is challanging on mc newer devices.

    Here's my test blinky for 18F27K42, it's 64 MHz, no crystal


    Device = 18F27K42
    Xtal = 64
    ...
  30. Replies
    7
    Views
    838

    Re: ICD2, ICD3 or QL200 dev board

    I'm sure others will provide a more definitive answer but I'm sure you can use any dev board you like.

    As far as I know the only way to access ICD2 and ICD3 is though mplab.

    I think it's safe...
  31. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    346

    Re: Fusion 360

    Hi Joe, hope you're right, can't see me having the nouse to even turn on a computer in 5 years time.

    I'll try registering (although I thought I already had) and see what happens.
  32. Replies
    72
    Views
    446

    [OFFER] Re: Proton MKII Development Board

    Sorry if this is a dumb question, but do you have Amicus main boards to give away (I looked in the shop, saw 0 quantity and assumed you were sold out).
  33. Replies
    38
    Views
    754

    Sticky: Re: PICKitPlus Forum

    @Evan as you know I choose not to continue using PickitPlus, although I think it's great that you've given a "shot in the arm" to a tried and tested piece of old hardware, I decided to go NSDSP which...
  34. Replies
    12
    Views
    558

    Re: PPL setting for 18f27k42

    Given Les's remarks perhaps use the tools and then manually confirm the results. FWIW I've used it for 18F27K42 and it worked.

    To be fair, I'm not sure I would call using files from the...
  35. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    346

    Re: Fusion 360

    Thanks for the list, I think I'll settle on Design Spark. It kindda works the way I think - a million years ago I was draftsman.
  36. Thread: Hc-12

    by towlerg
    Replies
    3
    Views
    96

    Re: Hc-12

    Any chance you could post relevant snippets?
  37. Replies
    38
    Views
    754

    Sticky: Re: PICKitPlus Forum

    I'm sure Evan will respond to this but in the mean time, that does seem very slow. Are you using the GUI or CLI? If you're using CLI, what command line are you using. Perhaps you could post the hex...
  38. Replies
    12
    Views
    558

    Re: PPL setting for 18f27k42

    Here's an app for setting PPS on most PIC devices https://sourceforge.net/projects/pps-tool/. It uses XML files from uhggg Mplabx but I seem to remember at least one version included them so no need...
  39. Replies
    5
    Views
    126

    Re: Proton USB boot loader 2019

    Thanks for getting back. I found the article you linked to but get "404 not found" when I try to download from the link at the bottom, "The code, this article etc can be downloaded from HERE"
  40. Replies
    6
    Views
    95

    Re: Determining VAR lenths

    You want to use variants?
  41. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    346

    Re: Fusion 360

    "is Ansys discovery Spaceclaim without some section", huh?
  42. Replies
    5
    Views
    126

    Re: Proton USB boot loader 2019

    Thanks for that, I've been meaning to try a bootloader for a while but laziness got in the way. Now you provided a fully working package I really have no more excuse.

    Apologies in advance if...
  43. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    346

    Re: Fusion 360

    Free for a year.
  44. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    346

    Fusion 360

    Just saw a ad from indestructibles reporting a great exclusive deal on Fusion 360 at $310 PER YEAR.
  45. Replies
    2
    Views
    652

    Re: Possible programming problem

    Usually LF devices are functionally identical to the F version. You may have a problem with the PIC device programmer expecting 16F628A but identifying 16LF628 or maybe not.

    Found the following on...
  46. Thread: SensorTile.box

    by towlerg
    Replies
    7
    Views
    70

    Re: SensorTile.box

    Norm, take a look at the Annex project https://sites.google.com/site/annexwifi/home
  47. Thread: Hc-12

    by towlerg
    Replies
    3
    Views
    96

    Hc-12

    Just ordered a couple to play with (in 6 weeks time). Anybody use these, any good, pitfalls. Any info welcome.
  48. Replies
    31
    Views
    415

    Re: PIC 18F1330 HPWM problem

    18F25K50 has 1 CCP and 1 ECCP
  49. Replies
    31
    Views
    415

    Re: PIC 18F1330 HPWM problem

    Never used PWM but I guess you have the option of bitbanging it, or maybe not, what do I know.
  50. Replies
    31
    Views
    415

    Re: PIC 18F1330 HPWM problem

    From previous experience, in part the PPI lists Proton support ie the device has 4 UARTS but Proton only supports 2, PPI will be UARTS=2.
  51. Replies
    72
    Views
    446

    [OFFER] Re: Proton MKII Development Board

    Thanks for getting back so quick, postage to Ireland is a pain, sometimes I go to buy something online and the post is more than the item.

    Just on a whim, probably use that much, thanks for...
  52. Replies
    72
    Views
    446

    [OFFER] Re: Proton MKII Development Board

    If you have any of these left, loosely how much is postage and package to Ireland?
  53. Replies
    24
    Views
    164

    Re: New Prusa mini 3D printer

    While I have your ear, if I were to use a Prusa 3d printer presumably the smart thing would be to use Prusa slicer?

    I'm confused about Simplyfy3d because although Prusa have instructions on how...
  54. Replies
    20
    Views
    390

    Re: Playing with Procedures

    Fosigud, sweet, how do I do that? For example a variable call ForCount that gets used in two procs and in main loop?

    John, unless I'm having another senior moment (see dreaded 3.3/5v jumper...
  55. Replies
    20
    Views
    390

    Re: Playing with Procedures

    Perhaps I'm wrong or just didn't explain. I quite often find that I have variables that are used by several subroutines/procs, if I make them local to the proc I can't do that. Lets put a pin in...
  56. Replies
    24
    Views
    164

    Re: New Prusa mini 3D printer

    RGV250 so just to clarify, I have Simplify3d and the Prusa slicer. What do I need to acuall create the shape of the thing I want to make?
  57. Replies
    24
    Views
    164

    Re: New Prusa mini 3D printer

    RGV250, thanks for input from an actual 3D printer. Do you do 3d printing commercially?

    I wonder if you could be so kind as to describe the software tools you use? Would that toolchain work with...
  58. Replies
    24
    Views
    164

    Re: New Prusa mini 3D printer

    Sadly Les, I suspect we're already there.



    Tim, a thing I suggest you check is the materials available. I would imagine nylon would be prefered in a high temp and high stress environment.
  59. Replies
    20
    Views
    390

    Re: Playing with Procedures

    The only downside I see with with local variables is that they can't be reused
  60. Replies
    10
    Views
    658

    Re: Time to wake up! (SLEEP issue)

    What are you comparing? I've had sleeping PIC devices working by


    ' Note! don't mess with weak pull ups - or the exit sleep condition will never happen
    '
    IOCA = %00110101 ...
  61. Replies
    9
    Views
    74

    [SOLVED !] Re: Problem with 3.7.2.8 and 18F25K50

    Can't edit - LED should light then blink Vdd times, wait a bit and loop. Not rounding for Vdd = 4.9




    “Ford's in his flivver; all's well with the world.”

    It all becomes clear. For no...
  62. Replies
    9
    Views
    74

    [SOLVED !] Re: Problem with 3.7.2.8 and 18F25K50

    Well something is horribly wrong but I don't know what it is. I've reinstalled everything, compiled and manually burned .HEX file and verified. I've ran old versions, stripped down the latest but...
  63. Replies
    24
    Views
    164

    Re: New Prusa mini 3D printer

    Tim, my knowledge of 3D printing is very, very tiny but from reading it would appear that a self-leveling heated bed is of prime importance. Pretty sure the mini will have self-leveling (introduced...
  64. Replies
    9
    Views
    74

    [SOLVED !] Re: Problem with 3.7.2.8 and 18F25K50

    Bloddy hell Les, where do you get the energy and commitment! All I managed was to uninstall .8, reinstall .6 and realize the problem still exists. It's part of a larger program, so I guess I'm going...
  65. Replies
    24
    Views
    164

    Re: New Prusa mini 3D printer

    Hi Tim, given how much mechanical stuff you have to do, I'm surprised you aren't already 3D printing.
  66. Replies
    24
    Views
    164

    Re: New Prusa mini 3D printer

    Are you going to bit the bullet? I see they are not taking the piss with delivery, just 20 to Ireland. But it seems like a lot of weight hanging on that arm.
  67. Replies
    9
    Views
    74

    [SOLVED !] Re: Problem with 3.7.2.8 and 18F25K50

    that's better, as I said it runs under 3.7.2.6. If I find a window in my busy schedule I'll reinstall the earlier version and compare ASM. Believe it or not today (supposedly) I'm having 300Mbs...
  68. Replies
    9
    Views
    74

    [SOLVED !] Re: Problem with 3.7.2.8 and 18F25K50

    I thought switching from wysiwig sorted that


    Proc GetVdd(), Word
    ADCON1 = %00000000 ' pos = VDD NEG = VSS
    ADCON2 = %10111110 ' right justified, acquisition time = 20TAD,...
  69. Replies
    9
    Views
    74

    [SOLVED !] Re: Problem with 3.7.2.8 and 18F25K50

    Probably bad form replying to my own post but it seems relevant

    Slightly weirder now, the following compiled under 3.7.2.6 and produced approx 33 (ie 10x VDD) under 3.7.2.8 it produces 3,

    ...
  70. Replies
    9
    Views
    74

    [SOLVED !] Problem with 3.7.2.8 and 18F25K50

    I have not raised an anomaly report because it seems very unfair to expect someone (Les) to hunt down bugs for free.




    If I compile code, which compiled unchanged under 3.7.2.6, under 3.7.2.8...
  71. Replies
    10
    Views
    47

    Re: Serin baud rate / clock dependency?

    Wow that's fast. Is that both rx and tx?
  72. Replies
    10
    Views
    47

    Re: Serin baud rate / clock dependency?

    I suspect with a 32Mhz clock the limiting factor would be the accuracy of the clock. How fast do you want to go?
  73. Re: MSSP module, propose for the Hshin/Hshout

    Not sure I understood your post but if you're asking to replace an existing command with a procedure, it's a trivial thing.
  74. Thread: ch376

    by towlerg
    Replies
    14
    Views
    311

    Re: ch376

    You got that right. I read somewhere (so therefore probably wrong) that 43% of Americans get their News from facebook. How scary is that, if its even half true. The stupid lead by the mouthy.
  75. Re: MSSP module, propose for the Hshin/Hshout

    Hi keytapper, I assume you know that Mc own Atmel.
  76. Thread: ch376

    by towlerg
    Replies
    14
    Views
    311

    Re: ch376

    No info but the only post I know off.
    http://www.protonbasic.co.uk/showthread.php/57202-USB-Memory-stick?p=515640&viewfull=1#post515640
  77. Re: Perhaps one small step to popularise Proton

    That's kindda the point.

    Lester, I was not referring to physical accessibility. The code (and there is tons of it) is for a range of PICs, using different styles and formats, all pretty daunting...
  78. Perhaps one small step to popularise Proton

    We have (I don't imply ownership) a great compiler and a Wiki full of great code. I only speak for myself and imply no criticism, but for someone new to Proton and electronics, all that great stuff...
  79. Re: Problem using HSEOUT3 and HSEOUT4 on a 18F66K40

    From previous posts I suspect that it's not that the compiler doesn't regognise them rather that it does not support them, I guess you have to write code to access these UARTS youself, no need for...
  80. Replies
    8
    Views
    106

    Re: Pic18f25k20 + module i2c (pcf8574)

    Sadly a simulation is only as good as the model. I find generally that stuff that works in sim tends to work in the real world, but if sim fails and I'm happy that the code is good, it's worth that...
  81. Replies
    7
    Views
    1,143

    Re: PDF NOW_ won't download PDF's

    Daves

    I don't have a problem, I was responding to teo. I have version 3.0.1.2, I'm pretty sure it's in the wiki under plugins
  82. Replies
    11
    Views
    76

    Re: serious problem with 4 bytes float

    hassawfaa - I doubt that you can run the code that Les posted on a 12F675. But you definatly can run the code on the manual.

    BTW when you say that your project is small, is that physical size or...
  83. Replies
    7
    Views
    1,143

    Re: PDF NOW_ won't download PDF's

    Could you give and example of a link file with a different name to the one used by mc?

    For example 18F25K50 link says "30000684B.pdf" and if I google I get that device.
  84. Replies
    13
    Views
    101

    Re: SD File System revisited

    Oh god no.
  85. Re: HAVING ISSUE WITH PROC USAGE project is high speed serial backpac

    Yes I know but it's bad practice, pretty easy to forget the difference between procs and subs, who knows at some point in the future Les may change the way procs are compiled.

    Damn, I didn't even...
  86. Re: HAVING ISSUE WITH PROC USAGE project is high speed serial backpac

    BTW putting other problems aside, if you put Procs first you need to jump over them.
  87. Replies
    13
    Views
    101

    Re: SD File System revisited

    Me to, they make no sense at all.
  88. Replies
    6
    Views
    31

    Re: Relational Operators

    I seen to remember I had code that wouldn't compile and I had to change => to <= or maybe it was the other way round, or maybe I just imagined it.
  89. Replies
    11
    Views
    76

    Re: serious problem with 4 bytes float

    Convert the float in the Pic device or in the ESP (I'll bet a tidy sum it's easier in Proton).

    See the page of the manual headed "Floating point mathematics. At the bottom it show the method to...
  90. Replies
    16
    Views
    83

    Re: The Proton manual

    Les posting re. lacing on Beta, I seem to remember the tape had to do a full 360 around an angled drum, which is obviously a nightmare but nevertheless it was all about marketing, I doubt very much...
  91. Replies
    0
    Views
    19

    Perhaps unsoluable problem

    I am backing up Proton system variables to an array. The number of system variables varies depending upon the Basic commands used. I would like to tailor the size of the array to suit the number of...
  92. Replies
    16
    Views
    83

    Re: The Proton manual

    I don't think for a moment it was about money, it was about marketing. Not sure about blue ray, wasn't that about 50 years later. LOL

    I didn't hear the adult thing, not sure how Beta could have...
  93. Replies
    5
    Views
    440

    Re: Newbie to the forum!

    There's another thing like KickStarter that lets you double dip.
  94. Replies
    9
    Views
    41

    Re: Pic to pic connections

    And you can have an int on data valid pin edge.
  95. Replies
    11
    Views
    52

    Re: SSD1306 lcd problem

    As john posted, some devices allow you to use modified I2C addresses (looks like SSD1306 uses bit1). Try the scanner I posted.
  96. Replies
    16
    Views
    83

    Re: The Proton manual

    It seems to me the money is in hardware, peeps will rip of software without a thought but are much to lazy to build even open source hardware.



    The old old story, VHS vs BetaMax (althought at...
  97. Replies
    19
    Views
    55

    Re: One mans meat is another mans poison

    I like the option in Post #6, pretty please.
  98. Replies
    16
    Views
    83

    Re: The Proton manual

    Les, thanks for that and thanks for all your efforts in general. It is amazing to me that one man in his spare time can support and improve anything as complex as TWO compilers that supports a...
  99. Replies
    15
    Views
    1,845

    Re: Req. I2C Scanner

    Tumbleweed, once again thanks for taking the trouble and posting code, as I expected it works a treat on both STATUS.0 and PP4.0

    For completeness I'll post the final version.
  100. Replies
    19
    Views
    55

    One mans meat is another mans poison

    When I click on Whats New and the answer is nothing I feel slightly deflated which makes me wonder at the mind set of the admin who thought "Hello, great news !" was an appropriate response. Sort of...
  101. Replies
    2
    Views
    39

    Sticky: Re: PICKAT Development Board

    He missed a trick not using 25K50.
  102. Replies
    15
    Views
    1,845

    Re: Req. I2C Scanner

    Yep that does the trick. While I have your interest, any idea how to detect Ack on bitbang I2C?
  103. Replies
    16
    Views
    83

    Re: The Proton manual

    Seems both unfortunate and unnecessary.
  104. Replies
    15
    Views
    1,845

    Re: Req. I2C Scanner

    @Tumbleweed. Thanks for posting code. I had tried both PP4=0 and STATUS.0=0 (see post #9) but on a 18F25K50 at least both are always 0 and thus detect detect every possible address.
  105. Replies
    15
    Views
    1,845

    Re: Req. I2C Scanner

    Setting aside my lack of understanding, I guess this would fail if the device actually sent $FF?

    It certainly was worth while running the code posted by flosigud, having spent far to long trying...
  106. Replies
    15
    Views
    1,845

    Re: Req. I2C Scanner

    Leaving aside the issue of Bit 0, the r/w bit, the above code works but I don't understand why the following detects Ack?


    In the manual in both HBusOut and BusOut the Ack/Nak status is meant to...
  107. Replies
    16
    Views
    83

    The Proton manual

    I don't know if it's just me but I don't seem to be able to paste examples from the PDF. I'm sure I could at some time in the past but maybe I'm having an elder moment.
  108. Replies
    88
    Views
    244

    Re: Les's ILI9325 Wiki code

    Is that the Micromite?

    Sound like an interesting concept, apart from the interpreter.
  109. Replies
    88
    Views
    244

    Re: Les's ILI9325 Wiki code

    In this particular instance a backpack is a device that plugs in to the 20ish way connector and also has an I2C (expander) interface so instead od bitbanging the LCD parallel inface directly, the...
  110. Replies
    88
    Views
    244

    Re: Les's ILI9325 Wiki code

    Unless you particularly want to make something yourself, I seem to remember that Les published code and was selling a board, and there's a I2C backpack on ebay for which I posted code.
  111. Replies
    9
    Views
    58

    Re: Is XTAL available at compile time

    It's well worth the learning curve, which isn't particularly great. Instead of code with chunks commented out and you can remember why. The preprocessor allows you to include code for all sorts of...
  112. Replies
    9
    Views
    58

    Re: Is XTAL available at compile time

    There isn't an Xtal in the preprocessor defines but there is an _xtal in the index so perhaps it might work.
  113. Replies
    88
    Views
    244

    Re: Les's ILI9325 Wiki code

    Thanks Charlie (and Les) now how did I miss that?
  114. Replies
    88
    Views
    244

    Re: Les's ILI9325 Wiki code

    Did anyone resolve my confusion with use of # in the source?
  115. Replies
    88
    Views
    244

    Re: Les's ILI9325 Wiki code

    I'm not sure if this is file corruption or the use of hash (assembler directive) is intentional but if you comment out "#ifdef Print#Req" and it's #endif it will compile. Don't have the device to...
  116. Replies
    1
    Views
    9

    Placement of Procs withing code space

    I much prefer the format of Procs to the unintelagable (to me anyway) preprocessor macros.

    For reasons that realy don't matter I'd like to be able to force a Proc to the end of code space. It...
  117. Replies
    3
    Views
    10

    Re: Proton Basic x Mplab XC8

    I suspect he means functionally identical programs, to test speed, code size etc.
  118. Replies
    24
    Views
    33

    Re: The use of USB with the 18F2550

    1. now I come to think off it I'm not sure. I've never used it. I guess either D+ or D-. Anyone?

    2. no 18f2550 does not have that facility but the two are pretty much interchangable. Amoung it's...
  119. Replies
    24
    Views
    33

    Re: The use of USB with the 18F2550

    1) no
    2) yes
    3) if you're going to change anything (and I mean anything), only make one change at a time and ensure (should be in caps but I hate peeps who shout) that everything is working.
    4)...
  120. Replies
    3
    Views
    20

    Re: Cell phone charger as a power supply?

    I use them all the time. The Vdd range on modern Pic devices is hugh anyway. If I have a bunch of stuff on the breadboard I throw in a couple of decoupling caps.
  121. Replies
    4
    Views
    19

    Re: Print CLS stopped USB from working

    If you use the alternate USB build, polling can be set to interupt driven. I works great such that polling becomes completly transparent.
  122. Replies
    24
    Views
    33

    Re: The use of USB with the 18F2550

    Reading between the lines I think the poster wants to use HID.
  123. Replies
    24
    Views
    33

    Re: The use of USB with the 18F2550

    Sorry I don't know VBA but any language that can call functions in the Win32 API can access USB directly. For example ReadFile, WriteFile, SetupDiGetClassDevs etc.

    As for USB bootloaders there was...
  124. Replies
    3
    Views
    25

    Re: Unbalanced $if $endif statements

    I know there are other IDE (also FineLine) but I can't seem to ween myself off.

    What steps and files are required to edit and compile Proton in Kate.

    There are several windows builds, which...
  125. Replies
    3
    Views
    25

    Unbalanced $if $endif statements

    If you have an unbalanced $if at the end of an include file odd things happen especially if you are conditionally including it.
  126. Replies
    24
    Views
    33

    Re: The use of USB with the 18F2550

    No you do not need a driver, you can use CDC (USB emulating a serial connection) or one of the many flavors of HID (keyboard, mouse, custom etc.), all of which are nativley supported by everthing...
  127. Replies
    11
    Views
    543

    Re: UART and USB Issues with PIC18F97J94

    @Craig not wishing to be argumentative but I think it's the other way round ie irrespective of the number of physical UARTS, the PPI has the number of UARTS supported by Proton.
  128. Replies
    57
    Views
    202

    Re: Beta Testers Wanted

    Another minor update. Plot now has a minutes and seconds timebase but there is some horrible bug which I can't for the life of me find. I've added a fudge factor which seems to work on several...
  129. Replies
    2
    Views
    16

    Re: Include a include file only once

    Thanks Les.
  130. Replies
    2
    Views
    16

    Include a include file only once

    I'm writing library files for various sensors. The code for the sensors will be in .INC files and the RAM dimensioning will be in .H files.

    For simplicity and foolproofing I'd like to arrange...
  131. Replies
    11
    Views
    95

    Re: Dspic33Fj128MC706A UART pic18F25K80

    Sorry basparky, I misunderstood what you meant by "the number 0".
  132. Replies
    11
    Views
    95

    Re: Dspic33Fj128MC706A UART pic18F25K80

    FWIW the number 0 has a value of $30 or 48 decimal, the string terminator is usually $00, as in win32 ASCIIZ
  133. Replies
    4
    Views
    25

    Stupid things I dun today

    I selected volt on my multimeter but every range read 1.11, same on all ranges. I ASSUMED that that must be the indication for flat battery, so off the local shop for new one. Put it in and it read...
  134. Re: Electronic roulette with PIC microcontroller

    You absolutely have to throw in some sound effects, one of those super cheap mp3 modules.
  135. Replies
    5
    Views
    23

    Re: 18f4331 LCD Woes

    Very sage advise, particularly the blinky on each pin (especially as Alpha displays usually only use output pins)
  136. Re: Looking to commission some code to interface to OV2640 or OV7670 camera module

    I had a play with ov7670, the type with the additional frame buffer are well worth the little extra.
    3726
  137. Replies
    5
    Views
    15

    Re: Dev boards (I can't afford)

    Seems like if you nearly finish ordering something on Micro's shop (I did it to find out the post charge) they send an email reminder and a week or so later they offer 10% off.
  138. Replies
    5
    Views
    15

    Re: Dev boards (I can't afford)

    Good to know, thanks.


    Edit. The v7 does look nice, imagine how cool it would be if you could use the debugger with Proton.
  139. Replies
    5
    Views
    15

    Dev boards (I can't afford)

    Idling round the net and ended up on Mikro's page, looked at their PIC dev board, it's beautiful no seriously take a look, it's a joy to behold, power supply, hardware debug, programmer, but sadly...
  140. Replies
    13
    Views
    155

    Re: TX/RX with CC1101 Texas

    I've found through painfull experience that (and I may be wrong here) you should avoid having comments on the same line as $if. So for example would actually be comparing the variable blabla with "1...
  141. Re: Proton v.3.7.2.1 created file "c:\full_after.bas" after compiled. Why?

    Oh, yes please, add the directive. Would it also be possible to include the comments, so that you can do a "' this should not appear" or "' this should appear".
  142. Replies
    9
    Views
    33

    Re: Using procedures, best practices

    Don't you hate that.

    I remember years ago I had a fight (and lost) with an intel uart on a bespoke s100 thing, the uart has 2 modes but reset left it in whatever mode it was in, some times it...
  143. Re: Unable to change device using prplus.exe command-line

    In principle I agree but unfortunately you have to run it under mplab whatever. Now if somebody came up with a standalone ICD/debugger that could be made to work with Proton then that would be a...
  144. Re: Unable to change device using prplus.exe command-line

    Please, please, pretty please, don't waste your time even thinking about Mplabx. Just stick to lean clean Proton. If any one wants sim they can use Proteus (integrating with that, specifically v8...
  145. Replies
    5
    Views
    23

    Re: Multiple serial communicators

    If the above doesn't work out Putty and RealTerm are both nice.
  146. Replies
    57
    Views
    202

    Re: Beta Testers Wanted

    I minor upgrade, SnapShot.exe only, raised version to 1.4.1
  147. Re: Unable to change device using prplus.exe command-line

    Where did you find the command line parameters for PrPlus.exe? I think that 18F25K20 is the default in Database.mcd
  148. Replies
    13
    Views
    155

    Re: TX/RX with CC1101 Texas

    It's always a problem when two things must work before anything appears to happen. Personally find compilable/compiled code that both works and runs on any device that I have (usually Arduino, but...
  149. Replies
    18
    Views
    40

    Re: procedures How do we buy the upgrade?

    Sounds like a plan, out Arduino Arduino
  150. Replies
    5
    Views
    15

    Re: Correct terminolgy

    I'm sure you're all correct (and google confirms), hard to believe that some computer science grad hasn't come up with a noun.
  151. Replies
    18
    Views
    40

    Re: procedures How do we buy the upgrade?

    Well now youv'e done it, made me login to the Facebook and I'm none the wiser. What a sack of shite, quess I'll just live in ignorance.
  152. Replies
    5
    Views
    15

    Correct terminolgy

    An Integer is a whole number, what is a Integer without a sign? Best I can come up with is unsigned Integer but that doesn't seem right.
  153. Replies
    18
    Views
    40

    Re: procedures How do we buy the upgrade?

    Come on someone, don't make me login to facebook!
  154. Replies
    18
    Views
    40

    Re: procedures How do we buy the upgrade?

    Sorry Norm, I don't do Facebook et al. in fact I think it as a cancer on our society, but thats just me.
  155. Replies
    18
    Views
    40

    Re: procedures How do we buy the upgrade?

    Does this mean that the procedures module is no longer a separate purchase?

    I ask because when ever possible I try to push Proton on other boards and I like to give a full picture.
  156. Re: How to invert just a bit - complement of a bit

    How about


    this equals 1 after invert
  157. Re: Programmer does not recognize a target device

    PK2 and PK3 (I think) detect external power and disconect from the 5v rail.

    From the manuel
  158. Thread: Tris

    by towlerg
    Replies
    11
    Views
    24

    Re: Tris

    My original question was weather shanges made to the input/output condition by onboard peripherals are reflected in the TRIS registers. The net result of the this thread is yes, no, maybe, sometimes...
  159. Re: Programmer does not recognize a target device

    as far as I'm conserned the American expression "go figure" always applies to MPLab in whatever flavour.
  160. Re: Programmer does not recognize a target device

    John, one thing I've discovered re. PK2/3 is that they suck at powering the device being programmed, always apply external power an those sort of problems go away (although of course others remain)....
  161. Re: Programmer does not recognize a target device

    Does not regognize means the the programmer is not reading a device ID from the place it expects it. So I guess comms errors, what sore of programmer are you using, USB, serial or parallel?
  162. Replies
    4
    Views
    12

    Android file access from PC

    If I plug a USB cable form my PC to my Android phone I can access (add, delete etc.) files no problem from any file managment program but with Wifi (I never use bluetooth) not so much. I quess I...
  163. Replies
    23
    Views
    45

    Re: #ELSE has no blue backcolor

    Oops, sorry. When looking at the forum, I just ckick "what's new" so I'm not aware what forum (or even thread) a post is in. Lazy I know but .........
  164. Replies
    44
    Views
    1,277

    Re: Boot loader woes.

    Well that all makes sense. If I were you I'd seriously consider the 3 x AAA.

    BTW the Device manager in Control panel is notoriously bad at setting COM ports. Use Control panel to see what COM...
  165. Replies
    44
    Views
    1,277

    Re: Boot loader woes.

    That may well be the case, but the compiler and probably the default fuses have changed. From the text of the MicroCode loader it would appear that fuses can be set when loader Hex file is...
  166. Replies
    44
    Views
    1,277

    Re: Boot loader woes.

    For clarity and for non-bootloader savy peeps could you describe your comms setup. On one end you obviously have a PC's USB port, now does that go to a USB to RS232 converter or to a USB port on the...
  167. Replies
    23
    Views
    45

    Re: #ELSE has no blue backcolor

    Sorry, wasn't trying to teach you to suck eggs. I think the problem is that the code for the IDE is not available to Les. If you need highlighting perhaps try a third party IDE like Proton Studio or...
  168. Replies
    23
    Views
    45

    Re: #ELSE has no blue backcolor

    You do understand that # directives are assembler directives?
  169. Replies
    44
    Views
    1,277

    Re: Boot loader woes.

    I don't claim to be an expert and I admit I have not read the whole thread but powering a PIC device from USB tx seem both unlikely and not a good plan (if that is indeed what you are doing). Why...
  170. Replies
    4
    Views
    21

    Re: Upgrade procedure validation installer

    If you just do an in-place ie over write the existing, your proceedures licence will be carried over. So, in short, just do installwith out copying, renaming etc. and all will be good.
  171. Replies
    2
    Views
    13

    Re: A Sprint-Layout software question

    Unfortunatley Abacom have never embraced netlists, it would be great to compare with design software in LochMaster (I am probably the last user on the planet)
  172. Replies
    5
    Views
    17

    Re: Proton Studio or Proton IDE ?

    The only Undo config option within Proton IDE that I know of is "Clear Undo history after successful compilation" which doesn't help you one jot. Obviously you could use any text editor/IDE that...
  173. Replies
    57
    Views
    202

    Re: Beta Testers Wanted

    Latest version.

    3704
  174. Replies
    44
    Views
    1,277

    Re: Boot loader woes.

    Big mistake.

    BTW In an earlier post you said "that I don't think Proton will allow a download if synytax errors exist", while I know nothing about bootloaders, the compiler has
    which determines...
  175. Replies
    12
    Views
    45

    Re: clear and interrupt handler - problem?

    I wonder does "Dim bVar as Byte = 5" work for a software reset?
  176. Replies
    12
    Views
    45

    Re: clear and interrupt handler - problem?

    Do the variables contain a known value on power up?

    Personally, I've always considered that it good practice to assume nothing about the initial value of variables, but thats just me.
  177. Replies
    18
    Views
    50

    Re: Thermistor Steinhart-Hart linearisation procedure for Proton BASIC

    Tim, one problem you may encounter is the lack of precision of the internal voltage reference. Perhaps consider an external voltage ref.
  178. Replies
    44
    Views
    1,277

    Re: Boot loader woes.

    Hi Moonshadow, I see the point re OTA and the cost per station. I quess there's no way round the cost but it's possible to set up Proton/PicKit2 so that burning to ROM is completely automatic after...
  179. Replies
    9
    Views
    26

    Re: Bit bang I2C code

    It's as if the font used in the post compose screen is monospace but the font used in the body of the board is not. This text should be monospaced ......

    Edit. and it is so whats going wrong?
  180. Replies
    10
    Views
    26

    Re: Stand alone magnifier

    Les, if you ever need proof reading pm me.
  181. Replies
    44
    Views
    1,277

    Re: Boot loader woes.

    I realize that you are used to using a bootloader but I'm curious as to why. I've always used a PicKit2/3 and latterly NSD, super quick and reliable, I just don't see that point, can you or anyone...
  182. Re: Code generated by 3.7.0.8 not fitting in 18F24K22

    Anf of course the Proceedure module will only compile used procs.
  183. Replies
    2
    Views
    340

    Re: MIcrocode bootloader files ....

    On my x64 PC they are at C:\Program Files (x86)\ProtonIDE\MCLoader\LoaderHEX
  184. Re: Code generated by 3.7.0.8 not fitting in 18F24K22

    Is the problem that code is now larger or some disconnect between actual ROM size and Proton usage? If it's just that you're running out of code space, 25K22 and 26K22 seem to be very similar devices...
  185. Re: Code generated by 3.7.0.8 not fitting in 18F24K22

    Did you try current version 3.7.1.2?
  186. Re: Wanted 18F25K22 bootloader for purchase .....

    Not to confuse things but nobody has mentioned Alberto's take on bootloader.
  187. Replies
    19
    Views
    29

    Re: PicKit4, cosa ne pensate?

    I thought about buying this, I didn't realize it added features, what are they?
  188. Replies
    19
    Views
    29

    Re: PicKit4, cosa ne pensate?

    Thats not really fair to PK3, it's MpLabX that is doing that. If you run Pk3 stand-alone with either GUI or command line (or even PicKit3Plus) firmware will not be messed with.
  189. Replies
    19
    Views
    29

    Re: PicKit4, cosa ne pensate?

    IIWY I'd buy a PicKit2 clone (yes I know some people complain that clones are unreliable but not in my experience) and if I wanted to use the PIC devices not supported by the microchip versions of...
  190. Replies
    14
    Views
    14

    Re: Toner transfer made easy .....

    If (and I know thats a big if) you could keep the PCB's holes on a 0.1" pitch you could overlay a bit of predrilled vero board and drill thro.
  191. Thread: While ... Wend

    by towlerg
    Replies
    6
    Views
    9

    Re: While ... Wend

    IIWY I'd copy the byte variable to an sword dummy then do the comparison.
  192. Re: Compile to HEX from Assembler plugin - HELP

    @xldaedalus Just to confirm that you do know that you can include ASM statments in your code?
  193. Replies
    5
    Views
    31

    Re: BreezeA board / Amicus18 problem

    you can probably discount 2) unless "many" is more than 10, 3) as you appear to have more than one Windows PC and they both simultaniously decided not to work. Start with 3) and if that doesn't work...
  194. Replies
    57
    Views
    202

    Re: Beta Testers Wanted

    I've been working on a data logger module and I'm fairly pleased, although I still have the shifted scale ticks and numbers to deal with.
    ...
  195. Replies
    23
    Views
    920

    [SOLVED !] Re: Help for Fatigue testing controller

    Can't say for sure that this is your problem but you could think about read modify write. If its absolutly essencial that you write individually to a bunch of bits on the same port either use LAT or...
  196. Re: Prolem with 1 x 16 alpha LCD when connected on PortA

    As I guess is common with mc datasheets, it's kindda contradictory. In the table 1.2 none of the pins are OD (indeed OD is not even in the legend) but later on when dealing with I2C 15.3 thet state...
  197. Replies
    2
    Views
    88

    Re: dropdownlists wrong?

    I don't know if this helps but if you put a valid Device statment in your code when you invoke FuseConfigurator it will select the correct device.
  198. Re: Prolem with 1 x 16 alpha LCD when connected on PortA

    If I read the ds correctly only RB1,RB2, RC3 and RC4 are open drain and only when in I2C mode.
    Do you have a TRISA setting?
    I suspect that the gibberish is caused by writting to the LCD to quickly....
  199. Re: Using the Internal Fixed Voltage Reference as the +VREF of the ADC on a PIC18F25K

    As always, sage words from tw. Although I guess it's assumed that vref calibration will help with the 6% and temp sensor (which as currently implemented is infinity worst than Vfef) should help with...
  200. Re: ADC alternative way to capture Data using nbuilt Fix voltage reference

    Sorry Yves, I jumped to conclusions without trying to fully (or indeed partially) understanding your code. Perhaps you could post Proteus sims?
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4