Search Results - Proton BASIC community web site


Search:

Type: Posts; User: hadv215

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    14
    Views
    605

    Re: DS3231 Alarm settings anybody

    Instead of using an internal osc you might find the 1herz output of the DS a very nice option. Or you can use the 32 kHz output. This is a perfect freq for any clock you want to build since you can...
  2. Replies
    14
    Views
    605

    Re: DS3231 Alarm settings anybody

    All your writes are to address $0D, except this one : BusOut $E0, $00, [$5] 'enable Alrm 1, interupt o/p (not 1 hz sqr wave),
  3. Thread: ch376

    by hadv215
    Replies
    14
    Views
    514

    Re: ch376

    I can not help you yet. I ordered one with DealExtreme, but they sent the wrong board (enc28j60 instead of ch376.) So now I have to wait if and when they are going to send the correct board. I...
  4. Replies
    7
    Views
    134

    Re: HD44780 positioning the cursor.

    you may use print at x,y without printing anything. it will indeed move the cursor
    as far as I know the compiler gives an error if you try to exceed the boundaries of the actual display
    just check...
  5. Thread: ch376

    by hadv215
    Replies
    14
    Views
    514

    Re: ch376

    You're right, but I hoped maybe some of us had done some work already
  6. Thread: ch376

    by hadv215
    Replies
    14
    Views
    514

    ch376

    Recently I read about thie module on this forum, but I can't find it back again.
    Does anybody have any pointers?

    Grazie, Harm
  7. Replies
    2
    Views
    76

    Re: which W register is save to use

    Thanks,

    exactly what I was looking for

    regards,
    Harm
  8. Replies
    2
    Views
    76

    which W register is save to use

    Hi All,

    I need a very short variable delay. DelayUs won't work.
    So I looked at DelayCS. The problem however is that it only takes literals, not variables.
    Looking at the .lst I see that DelayCS...
  9. Replies
    42
    Views
    220

    Re: Web site advertising

    Thanks Stephen, this did the trick
  10. Replies
    42
    Views
    220

    Re: Web site advertising

    Today I got a message about disabling ad-blockers, so I did.
    No difference at all, also not after closing and re-opening/
  11. Replies
    7
    Views
    36

    Re: pic16f689 tx problem

    I've just thrown all of my 16F689s away. There is something horribly wrong with the I/O ports. Even simple tests, like lighting up LEDs fail on a number of portpins.
  12. Replies
    7
    Views
    36

    Re: pic16f689 tx problem

    Yes, I would have thought that too, but it just does not work.
    It looks like the device just does not support INTOSCIO.
    For this project 4 MHz is of no consequence, as long as the UART does it work...
  13. Replies
    7
    Views
    36

    Re: pic16f689 tx problem

    I used the Fuse Configurator without checking.
    The FC does no identify INTOSC/IO, only INTRC/IO but the description is the one used for INTOSC/IO in the datasheet.
    The values in the .lst indicate...
  14. Replies
    7
    Views
    36

    pic16f689 tx problem

    I want to use the UART for testing purposes on my 16F689 application.
    Compiler 3.7.0.5


    Declare Hserial_Baud = 2400
    Declare Hserial_RCSTA = %10010000 ' Enable serial port and continuous...
  15. Replies
    13
    Views
    1,072

    Re: random number in Edata

    The recent versions of the 8 bit compiler support procedures, just read the manual.
  16. Replies
    13
    Views
    1,072

    Re: random number in Edata

    Some time ago Les came up with a pretty random random generator.
    Take a look in <user>\PDS\Samples24\Real Random.
    I know this example is for the 16-bit range, but I suppose it can be modified for...
  17. Re: 300 new BNF files (names only - no comments)

    I think you have done a great job.
    Just sorry to see you don't include the explanation of the bits. IMHO knowing the names is good, but it the meaning is missing you'll have to look it up in the...
  18. Thread: cdata table

    by hadv215
    Replies
    8
    Views
    104

    Re: cdata table

    Hi David,

    I've downloaded the datasheet and I mus say, it looks impressive.

    I don't know if you folowed the thread on the MCP41xxx digipot, so I will explain it here.

    The idea is to build a...
  19. Thread: cdata table

    by hadv215
    Replies
    8
    Views
    104

    Re: cdata table

    Hi David,
    yes, 360 is a bit much, but it is essentially what I consider optimal.
    I have now an increment of 2, yielding 6kHz. That's more like it considering the code will have to do more than just...
  20. Thread: cdata table

    by hadv215
    Replies
    8
    Views
    104

    Re: cdata table

    You guessed right. I found out that HBUS would never be fast enough.
    And I'm back at where I started from: an 8 bit R/2R network. It will be buffered (MCP6001) and, probably, be filtered too.

    I...
  21. Replies
    5
    Views
    234

    Re: 18F26J50 and 18F26K53 as Hosts?

    They can of course function as a HID

    But why do you want to use a keyboard as a HOST?

    Regards, Harm
  22. Thread: cdata table

    by hadv215
    Replies
    8
    Views
    104

    cdata table

    ignore this post I've found an error in the table (256)

    I have a cdata table in my program. It has 360 entries (indeed, full circle).
    I preceded it with an Org statement just to be sure

    Now...
  23. Replies
    1
    Views
    22

    maximum hbusout speed

    When I read the manual I see there are two speeds, 100 kHz and 400 kHz.
    I have a MCP4725 DAC that supports both, but also 3.4 Mbps.
    Since I want to produce sine wave output of up to 10 kHz the...
  24. Replies
    48
    Views
    4,757

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

    That's fine John, I'm not in a hurry
    Harm
  25. Replies
    48
    Views
    4,757

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

    Hello John,
    I do have a copy of the 2018 issue, If you could be so kind to make a photograph (or scan) of the other two I would like that very much.

    Regards
    Harm
  26. Replies
    48
    Views
    4,757

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

    Yes John. I know about one of them (march 2009). This one was also in Everyday Popular Electronics (the republish every silicon chips project).
    I tried to build it but failed. I think this was...
  27. Replies
    48
    Views
    4,757

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

    Anything looks easy if performed by someone experienced...
  28. Replies
    48
    Views
    4,757

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

    Well, if there's one thing that I do not associate with a theremin-thingy it is accuracy.
    It is renowned for its gliding tone. Just listen to good vibrations by the Beach Boys. Do some surfing on...
  29. Replies
    48
    Views
    4,757

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

    No, I never read that article. Nice to see it though. Basically the underlying principle is the same.
    Thanks
    Harm
  30. Replies
    48
    Views
    4,757

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

    I don't think otherwise (though the HCSR04 goes up to 4m = 13 feet but my arms are not that long).

    I have developed the circuit. It contains a 16F88, 16F689 (both selected for no other reason than...
  31. Replies
    48
    Views
    4,757

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

    Dropped the APDS for the moment (pretty complex and I get the impression that the distance is too short) and picked up a HC-SR04 sensor. This works easy up to 60 cm (and more, but that would be not...
  32. Replies
    48
    Views
    4,757

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

    Your remark about gesture sensing made me search for them.
    I found the ADPS-9960 and ordered 2 of them.
    Will start experimenting as soon as they are here & will keep you informed.

    Regards
    Harm
  33. Replies
    48
    Views
    4,757

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

    The biggest problem for a theremin is, as far as I can see, the sensitivity of the antennas.
    I've been experimenting with cap sense in Pic devices, but I don't think they are sensitive enough....
  34. Replies
    48
    Views
    4,757

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

    No, I have only seen analogue versions. But I would not be surprised if someone came up with something.
    After all, you only need 2 ADC's and some oscillating software.
    By the way, the author of the...
  35. Replies
    48
    Views
    4,757

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

    Actually the digipot will be used as a source for a control voltage for a monophonic synth.
    The idea is based on an aritcle I read in Nuts and Volts, the author uses a R/2R DAC but I am not happy...
  36. Replies
    48
    Views
    4,757

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

    Ok, I found out it's working fine now.
    I am ashamed to admit it, but I exchanged two lines.

    Thanks for the help
    Harm
  37. Replies
    48
    Views
    4,757

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

    using a dmm and a scope resulted in the same readings.
    adding short delays did not improve a thing

    I think I go back to my X9Cxxx, even though it has only 100 steps
  38. Replies
    48
    Views
    4,757

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

    I'm fully aware this is a somewhat dated thread, but I do need some help.
    I tried the samples example Les supplies
    I also tried the snippet Lubo suppplied
    I modified some arduino code from the net...
  39. Can't find my mail address and I can not change it

    Hi
    I tried to find my email address but I can not find it anywhere
    I want to change it since I have changed my ISP.

    I know my old email address is somewhere there because the asm header after...
  40. Replies
    20
    Views
    88

    Re: Use of the Proton 3.7.0.3 version

    Well I sent them an email but they don't respond. Help?

    regards, harm
  41. Replies
    41
    Views
    204

    Re: Advertisement on the forum

    it's the amazon search that is inserted after every first post in a thread, e.g. the forum
  42. Replies
    41
    Views
    204

    Re: Advertisement on the forum

    There may be a number of suspects in any crowd
    Any crowd may contain 0, 1, or more suspects

    at least, so I suspect
  43. Replies
    41
    Views
    204

    Re: Advertisement on the forum

    Yes, it would be nice. But does that have to delay things?
    It's not only the normal irritation I have with advertisement, it is also the slowed down loading of pages to pick up all the images again....
  44. Replies
    41
    Views
    204

    Re: Advertisement on the forum

    I'm in, where do I sign?
  45. Replies
    41
    Views
    204

    Re: Advertisement on the forum

    I understand the idea behind the advertising, but that does not mean I have to like it.
    And I just found out that adblocker does not reject everything, so now I'm stuck with white holes (what's the...
  46. Re: johngb has just uploaded New Update to Proton Studio!

    I think it's the install. After a quarter of an hour (!) it decides that is OK after all.....
    Basically I both love and hate AV programs. My provider gives me a free version of F-Secure but it does...
  47. Re: johngb has just uploaded New Update to Proton Studio!

    AVG is choking on this

    Harm
  48. Replies
    10
    Views
    70

    Re: FUSES for PIC18F47K20

    I am acquainted with John's latest development, but I must assume that not all PicBasic users are.
    From personal experience I know that a lot of Dutch PicBasic users ask their questions at a...
  49. Replies
    10
    Views
    70

    Re: FUSES for PIC18F47K20

    I donīt see why it can not be part of a full install. It just needs some comment on how to install it...
    I know itīs not a īlesī project but what the hell. I hardly think JohnGB would mind.


    Harm
  50. Replies
    25
    Views
    67

    Re: Delphi or Visual Studio etc. ?

    You can be sure that John builds ALL his applications using Delphi. Same as me by the way. I learned Turbo Pascal (the DOS predecessor) and all variants of Delphi up to 7. I also did some coding in...
  51. Re: Unable to find Library manger and SD card .inc

    I just added it to the forumfiles
  52. Replies
    0
    Views
    33

    hadv215 has just uploaded sd fileystem!

    hadv215 has just uploaded sd fileystem!

    here is your zip
  53. Re: How much code space our routines have article

    Forgive me if I don't understand the problem: it's very easy to determine the codespace using the .lst file
  54. Replies
    22
    Views
    92

    Re: How to pick apart a binary include file

    No you're not missing anything (apart from the program). I think I forgot to upload it, please try again.
  55. hadv215 has just uploaded to Hex converter improved, second attempt!

    hadv215 has just uploaded to Hex converter improved, second attempt!

    Apparently I forgot to upload the executable. Sorry for that.
  56. Replies
    22
    Views
    92

    Re: How to pick apart a binary include file

    There were two uploads. After the first I thought of some improvements (a.o. the scrollbar), hence the name improved version. It's here.
  57. Replies
    22
    Views
    92

    Re: How to pick apart a binary include file

    @ charliecoultas: Forgive me if I do not understand you. According to me this is exactly what my tool does.

    @SVC: are you sure you downloaded the so-called improved version?
    The tool will create...
  58. hadv215 has just uploaded Binary To Hex converter (improved version)!

    hadv215 has just uploaded Binary To Hex converter (improved version)!

    Binary (or any) to hex converter.
    Ideal for include files that are binary since the compiler will not accept these.
  59. Replies
    22
    Views
    92

    Re: How to pick apart a binary include file

    I decided to build that tool: BinaryToHex.exe. You can find it in the user files.

    I just decided to improve it a little bit. You'll now find commented labels to indicate the position and there is...
  60. hadv215 has just uploaded BinaryToHex Converter!

    hadv215 has just uploaded BinaryToHex Converter!

    This executable will take any file, read it as a binary file and convert it to hexadecimal
  61. Replies
    22
    Views
    92

    Re: How to pick apart a binary include file

    I did not know this, mainly because I never tried to include a binary file. I tried it myself and was confronted with an error like you.
    Sorry for this. (by the way it really disappoints me that it...
  62. Replies
    22
    Views
    92

    Re: How to pick apart a binary include file

    The table does not need a name, for CRead you only have to know the address.
    You will have a line 'include vendor_code.bin'. At this position the binary code is loaded.
    Insert a label, e.g....
  63. Replies
    22
    Views
    92

    Re: How to pick apart a binary include file

    The file will have a startposition. Use Cread to find the bytes.
  64. Replies
    5
    Views
    40

    Re: Sensitive Reflective Light Sensor

    What about a CNY70, they are not that expensive.
  65. Replies
    13
    Views
    104

    Re: PORT INDEX help-me

    It is mentioned in the manual but, frankly, I think this is really very confusing. In three years time when you have to modify the program you don't know what you have been doing.
    The least you...
  66. Replies
    17
    Views
    134

    Re: 16F15345 Won't Assemble (but does compile)

    I wonder what you mean with 'does compile' and 'won't assemble'. I advise you to throw away the .hex, .asm and .lst files and compile it again. The compiler will automatically invoke the assembler. ...
  67. Thread: Proton Studio

    by hadv215
    Replies
    38
    Views
    138

    Re: Proton Studio

    I'm running win7/64. The 32 bit exe (1.0.1.3) can open and show a PDF.
    When I try to test it with the 64 bit exe (0.1.1.105) I get an error 'Invalid datatype for Default Programmer' on start up. If...
  68. Thread: CData Table

    by hadv215
    Replies
    8
    Views
    66

    Re: CData Table

    As long as all data uses this format it should not be too difficult to use a macro (or something like that) in a text editor.
  69. Thread: CData Table

    by hadv215
    Replies
    8
    Views
    66

    Re: CData Table

    Looks like a conversion job.
    If you want to you can send me the code & I will have a look.
  70. Replies
    1
    Views
    23

    Re: Funny old world

    Serves them right
  71. Replies
    20
    Views
    205

    Re: Analyser gives error

    The analyser detects preprocesso directives and tries to solve them.
    If an "If" results in "False" the lines up to the corresponding "EndIf" are not used by the analyser, just the same way the...
  72. Replies
    20
    Views
    205

    Re: Analyser gives error

    Hi George

    it's in the snapshot.inc
    at line 128 you have "$if _eeprom"
    the preprocessor tries to evaluate this, but it needs a number
    make it "$if _eeprom > 0" and it will work (didn't I mention...
  73. Replies
    20
    Views
    205

    Re: Analyser gives error

    I fear there's something wrong with the installation.
    If you use it as plugin go to the pluginmanager and remove the analyser
    Remove the .exe
    Download the analyser zip again and install the way...
  74. Replies
    21
    Views
    81

    [SOLVED !] Re: Thumbs up system being abused

    I too encountered some suspicious thumbs up. All names (looking generated) that I have never seen before and most of them at very silly places
    3 of them on a thread initiated by me regarding a...
  75. Replies
    7
    Views
    34

    Re: Big error in last version compiler!

    What is the error?
  76. Replies
    20
    Views
    205

    Re: Analyser gives error

    Hi George,

    The IDE popup is certainly worrying since, AFAIcan remember, the .bas is never touched.
    I looked at the preproc.txt and did not find anything suspect expect that maybe the preprocessor...
  77. Replies
    20
    Views
    205

    Re: Analyser gives error

    Gebruik je de anlyser als een plugin of als een stand-alone programma?
    Have you installed the analyser as a plugin or are you running it stand-alone?

    Geheugengebruik en verwerkingstijd zijn in...
  78. Replies
    5
    Views
    49

    Re: Question for C/C++ and VB programmers

    Never mind.
    I looked at the links, but it's not what I need.

    In the meantme I have found a solution that promises a lot.
  79. Replies
    5
    Views
    36

    Re: Force variable into Bank 0

    The message of Les in the link is very clear: just put system in the declaration
    You can always try and look at the asm/lst file to see what happened.
    I tried it and it works over here.
  80. Replies
    5
    Views
    36

    Re: Force variable into Bank 0

    Can't you just do the include before the other variables?
  81. Replies
    5
    Views
    49

    Re: Question for C/C++ and VB programmers

    Hi Stephen,
    Global variables exist only in the name/memoryspace of a (one) program. This means a name of a variable has only meaning within that program (source).
    Technically DLLs are loaded into...
  82. Replies
    4
    Views
    48

    Re: Syncronous comms between two PIC's

    I'm busy with 2 pics where one is the master. They communicate by means of the UART (HserOut/HserIn).
    To synchronize these 2 pics I use two I/O pins on each of them.
    The first is to signal the...
  83. Replies
    5
    Views
    49

    Question for C/C++ and VB programmers

    Hi Folks,
    As you may or may not know JohnB is busy writing a new IDE and I have offered to take a look at a replacement for the mcPlugin.dll.
    The purpose is to stay as close as possible in terms of...
  84. Replies
    20
    Views
    205

    Re: Analyser gives error

    you can find it here (http://www.protonbasic.co.uk/vbdownloads.php?do=file&fileid=685)
  85. hadv215 has just uploaded PDSprotected.txt!

    hadv215 has just uploaded PDSprotected.txt!

    To all users who had problems with this analyser file
    You should put it in the same directory as the Protonanalyser.exe

    sorry for the inconvenience...
  86. Replies
    8
    Views
    159

    Re: carriage return/line feed

    Thanks Henk
    I just changed my settings and it works

    so far so good

    regards, Harm

    Sorry for the previous post. I pressed submit instead of preview
  87. Replies
    8
    Views
    159

    Re: carriage return/line feed

    [source sdfd /]
  88. Replies
    8
    Views
    159

    Re: carriage return/line feed

    Nope, just brings up the FireFox library... Even copying 0D0A from a textfile does not work...
  89. Replies
    8
    Views
    159

    Re: carriage return/line feed

    I'm just typing in a thread at the forum I thought that pressing the enter key generates both #13 and #10. How can I include a #10 separately?
  90. Replies
    8
    Views
    159

    carriage return/line feed

    Help! If I type a line and after that press enter to start a new line these lines come out concatenated. What do I have to do to get two separate lines?
  91. Replies
    6
    Views
    58

    Re: Question for Delphi programmers

    Hi John, the link you posted results in 404 Question: I am building a DLL that is supposed to work like the curent plugin DLL. Having functions in the DLL that return all kinds of elementary data...
  92. Re: Fault in bit wise comparisons on release 3.6.1.2.

    It may be me of course, but I don't see any bitwise stuff apart from the varx.0 = 1 You may use varx = varx and $01 and then test varx to be 1 or not
  93. Replies
    7
    Views
    43

    Re: Preprocessor output to assembler

    That's strange, over here it does not compile. The compiler objects against "HSerOut2_pin" in the file SnapShot.inc. There are also errors with PP_TXIF, EEADR, TXREG2. These are not compiler errors...
  94. Replies
    7
    Views
    43

    Re: Preprocessor output to assembler

    Well, if it hangs on your code, maybe it's your code ? Does your code compile? I have just tested it with some code of myself & it works hunky dory. I originally used the RTOS from JohnGB to test the...
  95. Replies
    7
    Views
    43

    Re: Preprocessor output to assembler

    Or view the .lst/.asm files created by the compiler. You can also use my analyser. After analysis there's an option to view the preprocessor output (menuitem report) or take a look at the .bas file...
  96. Replies
    17
    Views
    58

    Re: Sub-EndSub and Gosub-Return

    parameters would really be a nice feature
  97. Replies
    12
    Views
    101

    Re: Slightly surprised by 18F26K22

    It's a pretty common effect and MC warns against loading the PGC/PGD pins during programming. harm
  98. Replies
    6
    Views
    58

    Re: Question for Delphi programmers

    Hi John, Far back in time I wrote a DLL using Delphi 4. I will email the code and an example of a program using this DLL Regards, Harm
  99. Replies
    13
    Views
    104

    Re: PORT INDEX help-me

    sorry for you, but you can't
  100. Replies
    8
    Views
    32

    Re: The address of the CONFIG block

    George, you can use my 18F hex reader, it will show the addresses and the values at the bottom of the window. Note that this tool assumes config to start at 300000h, which may not be valid for all...
  101. Replies
    8
    Views
    32

    Re: The address of the CONFIG block

    The question is "Why do you need it?". You set the fuses at the start of the program, so you know what they are. There are some fuses that can be cleared at runtime (e.g. CPx and WRTx whith some...
  102. Replies
    8
    Views
    86

    Re: Crystal-less operation

    Low speed USB only (24 MHz)
  103. Replies
    8
    Views
    86

    Re: Crystal-less operation

    USB more or less requires a crystal since the internal oscillator is not accurate enough. Though, according to the datasheet, for this device INTOSC is accurate enough, but only for low speed USB.
  104. Replies
    12
    Views
    75

    Re: Correct use of bit names

    Check the bnf and look for intcon. Are the bits correct?
    Furthermore check your code. It wouldn't be the first time when a "0" and a "O" or "o" are mixed up
  105. Replies
    12
    Views
    75

    Re: Correct use of bit names

    which device are you using?
    There may be a mixup between IOC and INT

    I have never encountered problems clearing or setting an individual bit in INTCON
  106. Replies
    9
    Views
    87

    [SOLVED !] Re: 18F86J55 Oscillator configurations

    Are you sure it is running at 40 MHz? How did you determine this?

    Not connecting can also be caused by problems in the device configuration file, the PC will show an error if you insert your...
  107. Thread: Dog finder

    by hadv215
    Replies
    13
    Views
    52

    Re: Dog finder

    Every PIC is capable for this job since they all have a watchdog
  108. Replies
    18
    Views
    88

    Re: PicKit3 Programmer

    Hi Charlie
    have you tried this one, the PK3 behaves like a PK2
    I'm using it for quite some time now and are very happy with it.

    regards
    harm
  109. Replies
    18
    Views
    88

    Re: PicKit3 Programmer

    What is all the hassle about? Why try to buy the cheapest programmer when you know most of them are a pain in the ass.
    At the end of the day it's only a lot of wasted time and money and, most of...
  110. Replies
    13
    Views
    5,501

    Re: Very very cheap simple GSM texter

    Thanks for the explanation John.
    Regarding the use of the frequency spectrum I can understand that.

    But why would that mean that sms (text) would have to disappear (or GSM altogether if I read...
  111. Replies
    13
    Views
    5,501

    Re: Very very cheap simple GSM texter

    Interesting discussion. Up to now I have not investigated 3G (although my mobile phone supports it) let alone 4G.
    As far as I can see, both are based on mobile internet. That's something I will try...
  112. Replies
    14
    Views
    84

    Re: code execution real time

    I agree that peripherals will lead to headaches in simulators. Testing that should be left to scopes and log analysers.
    But you can simulate bytes coming from the UARTs and buttonpresses, but an ADC...
  113. Replies
    14
    Views
    84

    Re: code execution real time

    IMHO this 'solution' leaves much to be desired.
    First it's nothing new, debugging by means of the UART is pretty common practice. (although this isn't a disadvantage)
    Second is that it requires a...
  114. Replies
    14
    Views
    84

    Re: code execution real time

    George,
    well he mentioned "the code or a section of the code", to me this looks very hard to do using an LA because you never know exactly at what point the program is. Of course toggling pins can...
  115. Replies
    14
    Views
    84

    Re: code execution real time

    But then you're not really sure about exactly where you are in your program. Besides, MPSim will allow you to set breakpoints, contains a Stopwatch and includes a Stimulus which allows you to change...
  116. Replies
    14
    Views
    84

    Re: code execution real time

    You'll have to do that using a simulator with timing option.
    Try this link.
  117. Replies
    3
    Views
    34

    [SOLVED !] Re: serial comms interrupts and timers

    To find out which resources are used look at the .lst file.
  118. Re: receiving serial hardwre port stops when using ewrite

    The compiler handles the GIE bit during EWrite. At the start of EWrite the bit is cleared, at the end it is set again, ensuring no interrupts during writing.
    Take a look in the datasheet of your...
  119. Replies
    14
    Views
    100

    Re: Debugging USB Project

    That explains why my monitor does not see your device, it's HID only.
  120. Replies
    14
    Views
    100

    Re: Debugging USB Project

    George, you're quite right. It is aimed at monitoring the, more or less continuous, exchange betweend PC and Pic.
  121. Replies
    14
    Views
    100

    Re: Debugging USB Project

    In the section User Files you can find two USB HID monitors (one by JohnGB, one by me). You can send to the device and, of course receive and monitor the bytes being transferred both binary and...
  122. Replies
    16
    Views
    122

    Re: Add compile data to hex file

    I've built a tiny tool that will display a .hex file as Ascii. Only for values > 31 and < 127. Now you can add text to your source indicating version number, compile date, compiler etc.
    Just load...
  123. hadv215 has just uploaded Intel Hex to Ascii!

    hadv215 has just uploaded Intel Hex to Ascii!

    Simple tool that will show you readable bytes in an Intel Hex file.
  124. Replies
    16
    Views
    122

    Re: Add compile data to hex file

    If you take a look at a .hex you'll understand that using Notepad will never help you in finding readable text. It's all hex (as the name says).
    There are editors that allow one to change between...
  125. Replies
    16
    Views
    122

    Re: Add compile data to hex file

    If there is enough room you could put it in the eeprom.
    Or you could put it at a fixed location in program memory using CDATA. Fixed meaning using an org statement.
  126. Replies
    2
    Views
    54

    Re: Syntax of MCI file

    Visible: the status area can be closed (and reopend)
    View: the contents of the status area can be toggled. A value of 1 shows the errors/warnings, 2 success
  127. Replies
    14
    Views
    58

    Re: USB Device not Recognised

    This indicates that the corresponding driver could not be found/loaded. Very strange, but it might mean your description file still contains errors.
  128. Replies
    28
    Views
    91

    Re: How to get the 1 Hz output?

    The navigation update frequency is 1 Hz. You could try to use that, just parse the string received and if it contains the $GPGGA string you have a nice 1 Hz trigger.
    Schematics can be found on the...
  129. Replies
    14
    Views
    58

    Re: USB Device not Recognised

    This one contains support for the fuses. It can also be accessed by JohnGB's fuse configurator.
  130. Replies
    5
    Views
    63

    [SOLVED !] Re: Pickit3 & pic16f1709

    http://www.protonbasic.co.uk/vbdownloads.php?do=download&downloadid=406
  131. hadv215 has just uploaded pickit3 programmer application v3.1!

    hadv215 has just uploaded pickit3 programmer application v3.1!

    I'm using this because of its ease of use (comparable to PK2)
  132. Replies
    6
    Views
    952

    Re: Problem downloading Library Manager

    you can find it here
  133. hadv215 has just uploaded sd file system!

    hadv215 has just uploaded sd file system!

    Here's what I could find
  134. Replies
    2
    Views
    33

    Re: No Clock at all

    If you suspect the crystal to be the source of your problems I would suggest to use a different one. The least you can do is try the internal oscillator and check if the uc is doing anything at all....
  135. Replies
    1
    Views
    27

    what's new view count zero

    I noticed that all items in the what's new list have a view count of 0, even those that have replies...
  136. Re: Looking for someone to convert formula to excel / Google sheets

    That's ok, it didn't take me much time
  137. Replies
    3
    Views
    29

    Re: Do..Loop and Repeat..until

    That's exactly the difference between While-Wend and Repeat-Until. These two constructions should be sufficient and, what's more, compatible with other languages.
    Nobody ever suffered for thinking...
  138. Re: Looking for someone to convert formula to excel / Google sheets

    I finished it without thorough testing. It's yours
  139. hadv215 has just uploaded pressure cooker for Tim!

    hadv215 has just uploaded pressure cooker for Tim!

    This is as far as I got. Both formulas implemented, but no guarantees ;-)
  140. Re: Looking for someone to convert formula to excel / Google sheets

    Tim,

    I think I finished the first leg (<) and now I'm testing this, but I don't have a clue of what typical values to use for the seven variables.
    Could you supply them for both legs of the...
  141. Re: Looking for someone to convert formula to excel / Google sheets

    Busy...it will be a Delphi program that allows you to enter the seven values and come up with ms.

    The program has edit boxes for the 7 variables and 1 for the result.
    The steps in the calculation...
  142. Re: Help, I need use USB with internal oscillator INTOSCIO in 18F25K50

    from the datasheet:
    F devices permanently enable the voltage
    regulator.
    These devices require an external capacitor on
    the VUSB3V3 pin. It is recommended that the
    capacitor be a ceramic cap...
  143. Re: Help, I need use USB with internal oscillator INTOSCIO in 18F25K50

    It's hard to distinguish, but it looks like you are using a 2u2 polarized cap on Vusb.
    I'm not sure this is the right choice, please consider the resommendations in the chapter "Voltage Regulator...
  144. Replies
    15
    Views
    518

    Re: Low cost touchscreen LCD module

    Note on buying displays: many controllers can work in more then one mode, including 8-bit and 16-bit.
    However, all displays I encountered are wired for 16-bit.
    In order to modify a display to work...
  145. Replies
    15
    Views
    518

    Re: Low cost touchscreen LCD module

    The main reason I'm using a ILI9325 is that Les has written a library for this controller. This library is an 8-bit library.
    A 16-bit device might be 'better' (whatever that means), but then you'll...
  146. Replies
    15
    Views
    518

    Re: Low cost touchscreen LCD module

    I have a project with an ILI9325 display (thanks Les) running on a 18F45K20 @64 MHz.
    Used program space: 28190/32768
    Used ram space: 351/1536
    The program space contains no less than 2...
  147. Re: Unable to get 18F25K50 and new USB stack working

    I'm happy with the native USB implementation since the only thing I do is HID. Les surely did a really fine job.
    I would not dare to touch the basic files in the new sample because, although I know...
  148. Re: Unable to get 18F25K50 and new USB stack working

    Sorry to disagree.
    -It's not much newer, if you look at the datetimestamp of the files it's 2012, so I doubt if the newest insights are incorporated
    -The descriptors are only slightly different in...
  149. Re: Unable to get 18F25K50 and new USB stack working

    Windows not recognizing the device is often caused by an inadequate descriptor file or the speed/stability of the interface
    But why do you use the new stack, the stack implemented in the compiler...
  150. [SOLVED !] Re: Proton Support for devices - 16F1764, 16LF1764, 16F1765, 16LF1765, 16F1768, 16LF1

    Misread DAC to be ADC.
    We'll leave standardisation to MC, they really know how to take care of business...
  151. [SOLVED !] Re: Proton Support for devices - 16F1764, 16LF1764, 16F1765, 16LF1765, 16F1768, 16LF1

    I've got a 16F1827 and a 16F1829
    Both have
    Analog-to-Digital Converter (ADC) Module:
    - 10-bit resolution, up to 12 channels
    - Auto acquisition capability
    - Conversion available during Sleep...
  152. Replies
    3
    Views
    357

    Re: 16F690 PPI file

    George,
    when I look at the datasheet I can only say that I say you're absolutely right

    Harm
  153. Replies
    6
    Views
    294

    Re: bits in macro's

    Stupid me.
    Thanks for helping me back on the track
  154. Replies
    6
    Views
    294

    Re: bits in macro's

    $define SendAByte(arg1)
    WS = 1 '
    If arg1.0 = 1 Then '
    DelayCS 9 '
    WS = 0 '
    DelayCS 2 '
    Else '
    DelayCS 3 '
    WS = 0 ...
  155. Replies
    6
    Views
    294

    Re: bits in macro's

    double post
  156. Replies
    6
    Views
    294

    Re: bits in macro's

    double post
  157. Replies
    3
    Views
    319

    Re: Multiple instances of PDS in registry

    It is caused by installing a new version without de-installing the current version.
    When installing a new version without de-installing PDS is just being overwritten but the information about the...
  158. Replies
    6
    Views
    294

    bits in macro's

    I try to test a bit in a macro like this 'if byte.0 = 1', but I get an error message that I use an invalid cast.
    Any help (or is this an anomaly).
  159. Replies
    14
    Views
    429

    Re: New error message in fuse configurator MK2

    You're welcome
    BTW, it was built as a standalone program, that's the reason why you only have an .exe
  160. Replies
    14
    Views
    429

    Re: New error message in fuse configurator MK2

    Take a look in the Registry.
    If it is installed it should be in HKEY_CURRENT_USER\Software\HAdVTools.
    The entry is called "Hid Configurator" and it has a key "Location".
    As agreed between John and...
  161. Replies
    6
    Views
    440

    Re: Boolean Operation

    No one can ever be polluted by Pascal!
    When testing a bitvariable I still write 'if bitname then' only to be punished by the compiler.
    This would be a nice addition to PDS since a bit can only be 0...
  162. Replies
    9
    Views
    556

    Re: Storing text in symbol

    You should consider conditional compilation.
    Suppose you have three languages, English, Dutch and German and tree include files, say 'English.inc', 'Dutch.inc' and 'German.inc' containing the cdata...
  163. Replies
    9
    Views
    556

    Re: Storing text in symbol

    The fact that a symbol can not hold a string is a decision made by the guy who wrote the compiler.
    In a programming environment like Delphi you can have constants that contain more bytes. But Proton...
  164. Replies
    9
    Views
    556

    Re: Storing text in symbol

    No, that's not strange at all. Every character of your text takes up memory, that has to come from somewhere. Symbols are mainly for constants (makes programming & understanding your program easier)...
  165. Replies
    9
    Views
    556

    Re: Storing text in symbol

    cdata costs program memory, no eeprom memory

    cdata looks like the best way to me. You could have your various language files as separate includes
  166. Replies
    14
    Views
    709

    Re: 18F14K50 BNF and USB

    If it is any help I have the 3.5.2.7 64 bit compiler
  167. Replies
    13
    Views
    943

    Re: Problem USB PIC18F25K50

    Good to here it's working now.
    Disconnecting...that's USB for you, you have to keep the connection up all the time.
    From the manual "Notes.
    The method used for USB is polled, meaning that no...
  168. Replies
    13
    Views
    943

    Re: Problem USB PIC18F25K50

    You're quite correct, but TS is using the HID descriptor
  169. Replies
    13
    Views
    943

    Re: Problem USB PIC18F25K50

    Thanks, you're welcome
    I know what a dodgy crystal can do...had to declassify a number of elcheapo 40 MHz to about 15.
    That's the good thing about having a scope, a simple continuous toggle will...
  170. Replies
    13
    Views
    943

    Re: Problem USB PIC18F25K50

    First of all do not use USBOut 3 if you have only one endpoint in the descriptor.
    Although this does not explain why the device is not being recognized.
    I know descriptors can be a pain in the...
  171. Replies
    3
    Views
    530

    Re: font creator partial fonts

    Hi Simon
    I have two font creators. One is Font Converter 1.2.1 by MacPad, the second is Proton Front Converter, no version, no name.
    Which is the one you mean or is it something different...
  172. Replies
    14
    Views
    709

    Re: 18F14K50 BNF and USB

    When I look in the designated location I can find a bnf for this device.
    PM me your email address and I'll send it to you.

    I have used USB on this device, so if you need any help, just yell.
    ...
  173. Replies
    3
    Views
    530

    font creator partial fonts

    I'm using the font creator, and it works ok, but now I only need a partial font. 20 characters uppercase to be specific.
    Is there a possibility to do this (or does anyone know of a different font...
  174. Re: PIC sending ASCII keyboard characters to PC by USB?

    You can force an application to run and have the focus by using Windows Menu(Control Escape), enter name of the program (this will go into the search editbox), enter.
  175. Replies
    3
    Views
    559

    Re: Resistive Touch Screen Code

    I implemented the code on a 18F452 (like in your demo) and this works just fine.
    I suppose there must be something wrong with the AN ports on the 18F45K20, so I'll try a different port
  176. Replies
    3
    Views
    559

    Re: Resistive Touch Screen Code

    Thanks for the code.
    I've looked at it and basically I'm doing exactly the same.

    Copied some parts, but the results stay the same
  177. Replies
    3
    Views
    559

    ADC Touchscreen GLCD

    Hi people,

    I have a 4 wire resistive touchscreen on my GLCD.
    Everything is connected to an 18F45K20 running at 64 MHz.

    Xp is connected to portb.0, Yp to portb.1, Xp to portb.2 and Xn to...
  178. Re: Using Microchip assembler program in Proton

    Hard to tell. It is possible without a doubt. Newer versions of the compiler don't even require the asm-endasm construction (though it won't hurt).
    If you want us to help you you'll have to tell us...
  179. Replies
    5
    Views
    1,513

    Re: ILI9325 Shield-with-Proton

    I just received my GLCD. Had to modify it to work on 8 bits (tricky desoldering a 0402 resistor and soldering 2 other "spots").
    Wired my 45K20 board to a 40 pin connector, replaced the amicus.inc by...
  180. Thread: I2COut syntax

    by hadv215
    Replies
    1
    Views
    277

    I2COut syntax

    In the manual the syntax for I2COut is : I2COut Control, {Address}, [Outputdata]
    this should be
    I2COut Dpin, Cpin, Control, { Address }, [Outputdata]
    the examples all use the correct syntax
    so...
  181. Re: Versions of Proton Compiler suite in Installation Application

    I've used Inno Setup (version 5) for a couple of my tools.
    Works great and is freeware.
    Took me half an hour to learn, thanks to the examples.
  182. Re: Versions of Proton Compiler suite in Installation Application

    It has nothing to do with not understanding, it just does not make sense.
    Most programs will detect that an older version is already present and will first uninstall this before installing the new...
  183. Re: Versions of Proton Compiler suite in Installation Application

    That's what I said before, but TS is pertinent on doing it his way.
  184. Re: Versions of Proton Compiler suite in Installation Application

    Of course you can do that. Just one advice to see how much space you reclaimed: first determine the amount of free space on the disk where the software was installed, then uninstall all older...
  185. Re: Versions of Proton Compiler suite in Installation Application

    You can circumvent this: open the registry editor, navigate to HKEY_Current_User\Software\MecaniqueUK and for each entry you want to keep do an export (menu) of that entry. After installing...
  186. Re: Versions of Proton Compiler suite in Installation Application

    When you upgraded to a newer version you probably did not remove the older version first. The installer finds an entry in the registry and the location will be used for the new installation. When...
  187. Replies
    2
    Views
    428

    Re: 18F2620 with SHIN/SHOUT and hspll

    Did you adjust the Xtal declare to reflect the new speed?
  188. Replies
    6
    Views
    942

    Re: Cannot access Wiki Plugins

    Try Files>user files. Maybe what you are looking for is there.
  189. Replies
    0
    Views
    308

    Any in the mood to do some beta-testing?

    Hi All!
    I published a disassembler that supports the 16F extended instruction set.
    This one is meant for beta testing, please leave your remarks and questions in this part of the forum

    Regards...
  190. hadv215 has just uploaded disassembler for 10/12/16F supporting the extended instruct

    hadv215 has just uploaded disassembler for 10/12/16F supporting the extended instruction set!

    Hi all,
    the title says it all. Since available disassemblers don't (yet) support the extended...
  191. Replies
    33
    Views
    4,067

    Re: modify PPI file 16F18325 to 16F326

    When using a ppi for a different device, even an apparent look-a-like, it is always wise to take a look at the differences in the .inc files and see how that influences the .ppi file.
    So, open both...
  192. Thread: 18F Hex Reader

    by hadv215
    Replies
    10
    Views
    1,260

    Re: 18F Hex Reader

    I dropped XINST support, it isn't 'visible' in the code anyway (and besides that MC has various configuriation words to hold that bit).
    At the moment I'm busy writing a disassembler to support the...
  193. Thread: 18F Hex Reader

    by hadv215
    Replies
    10
    Views
    1,260

    Re: 18F Hex Reader

    The hardest part was finding the port address. As soon as you had that the rest was quite straightforward because all instructions were already in the code. Only find out what was what.
    And then of...
  194. Thread: 18F Hex Reader

    by hadv215
    Replies
    10
    Views
    1,260

    Re: 18F Hex Reader

    Of course my disassembler is primarily aimed at all those hex files created by other compilers.

    Reading the asm PDS creates, I find the compiler is very tight. There is, of couse, some overhead,...
  195. hadv215 has just uploaded 18F Hex Reader - corrected!

    hadv215 has just uploaded 18F Hex Reader - corrected!

    Fixed it
  196. Thread: 18F Hex Reader

    by hadv215
    Replies
    10
    Views
    1,260

    Re: 18F Hex Reader

    I will look into that - fixed it
  197. Thread: 18F Hex Reader

    by hadv215
    Replies
    10
    Views
    1,260

    18F Hex Reader

    Hi all,
    I created a disassembler for pic 18F hex files.
    Find it here.
  198. Replies
    0
    Views
    180

    hadv215 has just uploaded 18F Hex Reader!

    hadv215 has just uploaded 18F Hex Reader!

    Just for fun, a disassembler for PIC 18F hex files.
  199. Thread: write to TMR0

    by hadv215
    Replies
    7
    Views
    613

    Re: write to TMR0

    Well this explains some problems. You forgot to set the interrupt bit PEIE that is needed for Timer1. It, however, does not explain why timer0 seems to be out of control.
    Take care of manipulating,...
  200. Thread: write to TMR0

    by hadv215
    Replies
    7
    Views
    613

    Re: write to TMR0

    in the code presented latch_s is not set or clearedI don't see any clearing of PORTB.6

    Well your code does not show that, so how are we to know???If you have a label "interrupt_handler" it seems...
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4