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

    Re: Examining elements of a string

    Assuming that String1 is an array
  2. Replies
    15
    Views
    347

    Re: 3.7.3.1 download will not unzip

    Double smug, Win7 and Waterfox
  3. Replies
    15
    Views
    347

    Re: 3.7.3.1 download will not unzip

    One mans "second hand" is another mans "refurbished".

    I always buy refurbished laptops. You can get some fantastic deals on 2 or 3 year old, top of the line machines.
  4. Replies
    15
    Views
    347

    Re: 3.7.3.1 download will not unzip

    Much as I admire your fortitude and perseverance, why do you keep banging your head against Win 10?

    I'm gonna stay with Win 7 till a must have app doesn't support it (not holding my breath) and...
  5. Replies
    14
    Views
    387

    Re: SI7021 Temperature & Humidity Sensor

    Sorry, I made a mistake when I posted the Busin used hardware, but you obviously worked that out for yourself.

    What Pic device are you using and what pins are connected to Clk and Sda?

    Do you...
  6. Replies
    14
    Views
    387

    Re: SI7021 Temperature & Humidity Sensor

    To be fair, it's very clear ie

    BUSIN


    BUSOUT


    @Thetrueman Life is so much easier life if you can see what's going on, which is exactly what a logic analyser will do. You can get a clone...
  7. Replies
    14
    Views
    387

    Re: SI7021 Temperature & Humidity Sensor

    Too late to edit. I see the device has registers Electronic ID, which is a good test. Do you read 0xFA from Address 0x0F and 0xFC from Address 0xC9?
  8. Replies
    10
    Views
    293

    Re: 18F25K20 osc / clock odd frequency

    Moral of the story, don't trust to defaults you don't understand, explicitly state fuses, I2C hardware pins etc. etc. It make code much more comprehensible.

    BTW You can put fuses anywhere in you...
  9. Replies
    14
    Views
    387

    Re: SI7021 Temperature & Humidity Sensor

    What CONTROL ADDRESS did I2C scanner give?

    There really is no point in proceeding until you are absolutely sure you have the correct CONTROL address (including any optional parts).

    BTW I should...
  10. Thread: Hc-12

    by towlerg
    Replies
    0
    Views
    95

    Hc-12

    Just got two HC-12's from China and they worked first time. I don't think I've ever had anything work first time.

    No muss no fuss, default to 9600 8 1s with SET pin floating.

    TTL level GPS to...
  11. Replies
    36
    Views
    21,603

    [SOLVED !] Re: MPU6050 DMP, Accelerometer and Gyroscope Code

    This has been said before but this really is a cool project.
  12. Replies
    14
    Views
    387

    Re: SI7021 Temperature & Humidity Sensor

    Using the terminology of Busin - CONTROL is the address of your device on the I2C bus. ADDRESS is one of several registers on the device.

    Personally I've always thought that was backwards but what...
  13. Re: A registration is required for device 16F18326!?

    Could you elaborate. Usually a HEX file will contain the binary (in Intel format) of your compiled source.

    Are you asking if you can use a 16F18326 but tell the compiler it's a 16F18323? AFAIK if...
  14. Re: Question about Hbusin / Hbusout on PIC16F15313

    Wow, pretty harsh mate!

    I understand that the process of creating config files is automated using mc's own files (which on release are often wrong).
  15. Replies
    14
    Views
    564

    Re: DS3231 Alarm settings anybody

    There's some nice looking code on the dark side (PBP) seems like you have to differenciate between day and date alarms (don't know if you're already doing that). So I guess you need to write 4 bytes...
  16. Re: Bringing information to a website from a Pic

    google for "IOT display data". there are a whole bunch of sites that let you create a webpage with your real time (wink) data. Just to get you started...
  17. Thread: Rc-522

    by towlerg
    Replies
    2
    Views
    136

    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.
  18. Thread: Rc-522

    by towlerg
    Replies
    2
    Views
    136

    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?
  19. Replies
    10
    Views
    289

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

    Post in reverse order?

    id it just me or has the order of posts within a thread been reversed? Newest post at the top.
  21. Replies
    37
    Views
    814

    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.
  22. Replies
    37
    Views
    814

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

    Re: Rfid read procedure

    Ain't that the truth!
  24. Replies
    0
    Views
    98

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

    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...
  26. Replies
    8
    Views
    298

    Re: 10Hz to 10KHz Frequency Generator

    The Mikroe one is here here , a personal favorite.
  27. Replies
    8
    Views
    437

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

    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.
  29. Replies
    37
    Views
    814

    Re: Driver for ILI9341

    Thanks Charlie.
  30. Replies
    37
    Views
    814

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

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

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

    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...
  34. 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.
  35. Replies
    10
    Views
    564

    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?
  36. Replies
    24
    Views
    278

    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...
  37. Replies
    12
    Views
    725

    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...
  38. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    433

    Re: Fusion 360

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

    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.
  40. Replies
    19
    Views
    958

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

    Re: Inscrutable eeprom problem

    No, I mean % and $. Just a guess
  42. Replies
    6
    Views
    569

    Re: Inscrutable eeprom problem

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

    Re: ICD2, ICD3 or QL200 dev board

    I wonder if you can use ICD2/3 as programmers using IPE (part or Mplabx)
  44. Replies
    73
    Views
    647

    [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...
  45. Replies
    12
    Views
    725

    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
    ...
  46. Replies
    7
    Views
    1,330

    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...
  47. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    433

    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.
  48. Replies
    73
    Views
    647

    [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).
  49. Replies
    38
    Views
    1,013

    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...
  50. Replies
    12
    Views
    725

    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...
  51. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    433

    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.
  52. Thread: Hc-12

    by towlerg
    Replies
    3
    Views
    147

    Re: Hc-12

    Any chance you could post relevant snippets?
  53. Replies
    38
    Views
    1,013

    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...
  54. Replies
    12
    Views
    725

    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...
  55. Replies
    5
    Views
    312

    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"
  56. Replies
    6
    Views
    141

    Re: Determining VAR lenths

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

    by towlerg
    Replies
    20
    Views
    433

    Re: Fusion 360

    "is Ansys discovery Spaceclaim without some section", huh?
  58. Replies
    5
    Views
    312

    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...
  59. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    433

    Re: Fusion 360

    Free for a year.
  60. Thread: Fusion 360

    by towlerg
    Replies
    20
    Views
    433

    Fusion 360

    Just saw a ad from indestructibles reporting a great exclusive deal on Fusion 360 at $310 PER YEAR.
  61. Replies
    2
    Views
    1,040

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

    by towlerg
    Replies
    7
    Views
    134

    Re: SensorTile.box

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

    by towlerg
    Replies
    3
    Views
    147

    Hc-12

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

    Re: PIC 18F1330 HPWM problem

    18F25K50 has 1 CCP and 1 ECCP
  65. Replies
    45
    Views
    914

    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.
  66. Replies
    45
    Views
    914

    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.
  67. Replies
    73
    Views
    647

    [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...
  68. Replies
    73
    Views
    647

    [OFFER] Re: Proton MKII Development Board

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

    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...
  70. Replies
    20
    Views
    492

    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...
  71. Replies
    20
    Views
    492

    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...
  72. Replies
    24
    Views
    278

    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?
  73. Replies
    24
    Views
    278

    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...
  74. Replies
    24
    Views
    278

    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.
  75. Replies
    20
    Views
    492

    Re: Playing with Procedures

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

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

    [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...
  78. Replies
    9
    Views
    150

    [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...
  79. Replies
    24
    Views
    278

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

    [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...
  81. Replies
    24
    Views
    278

    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.
  82. Replies
    24
    Views
    278

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

    [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...
  84. Replies
    9
    Views
    150

    [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,...
  85. Replies
    9
    Views
    150

    [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,

    ...
  86. Replies
    9
    Views
    150

    [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...
  87. Replies
    10
    Views
    108

    Re: Serin baud rate / clock dependency?

    Wow that's fast. Is that both rx and tx?
  88. Replies
    10
    Views
    108

    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?
  89. 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.
  90. Thread: ch376

    by towlerg
    Replies
    14
    Views
    482

    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.
  91. Re: MSSP module, propose for the Hshin/Hshout

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

    by towlerg
    Replies
    14
    Views
    482

    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
  93. 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...
  94. 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...
  95. 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...
  96. Replies
    8
    Views
    153

    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...
  97. Replies
    7
    Views
    1,179

    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
  98. Replies
    11
    Views
    131

    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...
  99. Replies
    7
    Views
    1,179

    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.
  100. Replies
    13
    Views
    255

    Re: SD File System revisited

    Oh god no.
  101. 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...
  102. 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.
  103. Replies
    13
    Views
    255

    Re: SD File System revisited

    Me to, they make no sense at all.
  104. Replies
    6
    Views
    61

    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.
  105. Replies
    11
    Views
    131

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

    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...
  107. Replies
    0
    Views
    38

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

    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...
  109. Replies
    5
    Views
    832

    Re: Newbie to the forum!

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

    Re: Pic to pic connections

    And you can have an int on data valid pin edge.
  111. Replies
    11
    Views
    79

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

    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...
  113. Replies
    19
    Views
    98

    Re: One mans meat is another mans poison

    I like the option in Post #6, pretty please.
  114. Replies
    16
    Views
    133

    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...
  115. Replies
    15
    Views
    1,912

    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.
  116. Replies
    19
    Views
    98

    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...
  117. Replies
    2
    Views
    75

    Sticky: Re: PICKAT Development Board

    He missed a trick not using 25K50.
  118. Replies
    15
    Views
    1,912

    Re: Req. I2C Scanner

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

    Re: The Proton manual

    Seems both unfortunate and unnecessary.
  120. Replies
    15
    Views
    1,912

    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.
  121. Replies
    15
    Views
    1,912

    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...
  122. Replies
    15
    Views
    1,912

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

    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.
  124. Replies
    88
    Views
    469

    Re: Les's ILI9325 Wiki code

    Is that the Micromite?

    Sound like an interesting concept, apart from the interpreter.
  125. Replies
    88
    Views
    469

    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...
  126. Replies
    88
    Views
    469

    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.
  127. Replies
    9
    Views
    85

    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...
  128. Replies
    9
    Views
    85

    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.
  129. Replies
    88
    Views
    469

    Re: Les's ILI9325 Wiki code

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

    Re: Les's ILI9325 Wiki code

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

    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...
  132. Replies
    1
    Views
    31

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

    Re: Proton Basic x Mplab XC8

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

    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...
  135. Replies
    24
    Views
    106

    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)...
  136. Replies
    3
    Views
    37

    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.
  137. Replies
    4
    Views
    51

    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.
  138. Replies
    24
    Views
    106

    Re: The use of USB with the 18F2550

    Reading between the lines I think the poster wants to use HID.
  139. Replies
    24
    Views
    106

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

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

    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.
  142. Replies
    24
    Views
    106

    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...
  143. Replies
    11
    Views
    963

    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.
  144. Replies
    57
    Views
    395

    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...
  145. Replies
    2
    Views
    37

    Re: Include a include file only once

    Thanks Les.
  146. Replies
    2
    Views
    37

    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...
  147. Replies
    11
    Views
    154

    Re: Dspic33Fj128MC706A UART pic18F25K80

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

    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
  149. Replies
    4
    Views
    38

    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...
  150. Replies
    13
    Views
    1,007

    Re: Electronic roulette with PIC microcontroller

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

    Re: 18f4331 LCD Woes

    Very sage advise, particularly the blinky on each pin (especially as Alpha displays usually only use output pins)
  152. 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
  153. Replies
    5
    Views
    35

    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.
  154. Replies
    5
    Views
    35

    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.
  155. Replies
    5
    Views
    35

    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...
  156. Replies
    15
    Views
    317

    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...
  157. 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".
  158. Replies
    9
    Views
    60

    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...
  159. 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...
  160. 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...
  161. Replies
    5
    Views
    39

    Re: Multiple serial communicators

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

    Re: Beta Testers Wanted

    I minor upgrade, SnapShot.exe only, raised version to 1.4.1
  163. 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
  164. Replies
    15
    Views
    317

    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...
  165. Replies
    18
    Views
    82

    Re: procedures How do we buy the upgrade?

    Sounds like a plan, out Arduino Arduino
  166. Replies
    5
    Views
    31

    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.
  167. Replies
    18
    Views
    82

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

    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.
  169. Replies
    18
    Views
    82

    Re: procedures How do we buy the upgrade?

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

    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.
  171. Replies
    18
    Views
    82

    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.
  172. Re: How to invert just a bit - complement of a bit

    How about


    this equals 1 after invert
  173. 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
  174. Thread: Tris

    by towlerg
    Replies
    11
    Views
    67

    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...
  175. 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.
  176. 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)....
  177. 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?
  178. Replies
    4
    Views
    26

    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...
  179. Replies
    23
    Views
    87

    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 .........
  180. Replies
    44
    Views
    2,382

    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...
  181. Replies
    44
    Views
    2,382

    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...
  182. Replies
    44
    Views
    2,382

    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...
  183. Replies
    23
    Views
    87

    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...
  184. Replies
    23
    Views
    87

    Re: #ELSE has no blue backcolor

    You do understand that # directives are assembler directives?
  185. Replies
    44
    Views
    2,382

    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...
  186. Replies
    4
    Views
    37

    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.
  187. Replies
    2
    Views
    23

    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)
  188. Replies
    5
    Views
    36

    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...
  189. Replies
    57
    Views
    395

    Re: Beta Testers Wanted

    Latest version.

    3704
  190. Replies
    44
    Views
    2,382

    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...
  191. Replies
    12
    Views
    105

    Re: clear and interrupt handler - problem?

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

    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.
  193. Replies
    18
    Views
    85

    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.
  194. Replies
    44
    Views
    2,382

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

    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?
  196. Replies
    10
    Views
    58

    Re: Stand alone magnifier

    Les, if you ever need proof reading pm me.
  197. Replies
    44
    Views
    2,382

    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...
  198. Re: Code generated by 3.7.0.8 not fitting in 18F24K22

    Anf of course the Proceedure module will only compile used procs.
  199. Replies
    2
    Views
    677

    Re: MIcrocode bootloader files ....

    On my x64 PC they are at C:\Program Files (x86)\ProtonIDE\MCLoader\LoaderHEX
  200. 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...
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4