Search:

Type: Posts; User: Stephen Moss

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

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

    @Les, thanks for that.
    It's good to know I can skip straight to the latest version when I eventually update - I just wanted to be certain that the latest update did not require having certain files...
  2. [SOLVED !] Latest compiler updates (2018) - will upgrade any version?

    I was not sure where the correct place for this would be without cross posting to both the Proton & P24 forums so apologies if it is in the wrong forum.

    There have been quite a few compiler...
  3. Replies
    9
    Views
    10

    Re: Is SPI SHout interruptible

    I looked at trying to write my own I2C slave routine but being a non urgent project I did not get to far with it, however I believe that separating the address from the data is handled at the...
  4. Replies
    11
    Views
    12

    Re: Timer1 overflows

    I think it is not working is because you have not set up the interrupts, I have only had a quick glance at the datasheet so I suggest you read section 10 (Interrupts) thoroughly incase I missed...
  5. Replies
    6
    Views
    7

    Re: Pic24 and LCD display question

    I have use an LDC with the same spec on a PIC24 device, this set up worked for me on a different device to yours so hopefully it will for you without to much modification in regard to the...
  6. Re: Question for C/C++ and VB programmers

    Sorry, I was having a senior moment, been stuck getting my head around VB multithreading and forgot DLL's were essentially separate executables and some kind of importing would probably be necessary....
  7. Re: Question for C/C++ and VB programmers

    Hi Harm,
    I presume you have a reason from not making the variables global and thereby avoiding the hole parameter passing thing. I know more about VB than C but just had a quick scan through my C...
  8. Thread: 16f720

    by Stephen Moss
    Replies
    7
    Views
    8

    Re: 16f720

    Strange problem, it is almost as if the MCRL is stuck in the clear and not allowing the code to run, although that would seem unlikely.
    One thing I do know that will stop perfectly good code...
  9. Replies
    7
    Views
    8

    Re: Easier way to initialize EEPROM

    I assume the EEPROM data contains an initial default value, if so and it is not a value that you would expect to occur within your application then you could read the first address (or first & last)...
  10. Replies
    10
    Views
    11

    Re: HPWM low frquency limitation

    Have you considered putting the PWM output through a divider IC? Depending on the division ratios and the set frequency from the PIC you should be able to get close to 20Hz.
    You say "starting from...
  11. Replies
    3
    Views
    4

    [SOLVED !] Re: Fuse Configurator doesn't open

    Which version of Proton and the Fuse Configurator are you using as you may be using versions that are incompatible with each other.
    Also try this
  12. Replies
    5
    Views
    6

    Re: Same code different pic

    The 16F628A has one fixed internal oscillator frequency of 4MHz. It looks like you have made the dangerous assumption that the 16F723a is the same, when in fact it has eight possible frequencies...
  13. Replies
    15
    Views
    16

    Re: Re. latest vweaion 3.6.0.7

    That's poor, although as an acronym DDR is better at doing what it says on the tin than TRIS they should either...
    a) Stick to the Microchip convention (particularly as they are the parent company)...
  14. Replies
    20
    Views
    21

    [SOLVED !] Re: Problem in pulse per second meter

    Search the manual for the Dig command to extract the digit you want to display and using that in you DIGITCALC routine, it may make for more readable code and save a few instructions.

    If you...
  15. Replies
    30
    Views
    31

    Re: PicKit 2 stopped working

    I see Rick beat me to suggesting the sfc scan, AFIK it only looks at critical Windows system files so unlikely to help but I always try that first just in case it proves to be a quick and easy fix...
  16. Re: Prgramming 18FXXXXX chip with USB on board

    Yes, we used to run a undergraduate project work where the students had to program a PIC (18F4550) to operate as a data logger, the PIC was programmed via the USB using a pre installed boot loader on...
  17. Replies
    3
    Views
    4

    Re: Other ports use for interrupt

    How about using a Timer interrupt to read the port pins say every 100mS?

    Within the interrupt do something like this...


    Rotary_Data_Old = Rotary_Data_New 'Make previous new encoder data...
  18. Replies
    10
    Views
    11

    Re: Persistence freq for Led Bargraph

    Well I was taught that persistence of vision (the time it takes an image hitting the retina to fade) a.k.a. POV is 50Hz. I have driven an 8 digit 7 segment display at just around that and...
  19. Replies
    7
    Views
    8

    Re: Problem with Shin

    Difficult to see the problem from the waveform grabs especialy as it is not clear if the grid is on the same timebase for all plots and what that timebase is. Looking at them I would deduce that......
  20. Re: Base biased PNP transistors running at > Pic VDD

    I was also thinking that, I would think using NPN would be the better solution when the other supply is higher than the PIC output voltage + vgs/2 as you just drop all the voltage across the load.
    I...
  21. Re: Dual brushless motor control (how to?)

    Correction to my previous post...
    I suggested ANDing the three Hall outputs to a single signal to save on IOC pins, that will not work as I forgot they change in a grey code sequence. Consequently I...
  22. Re: Dual brushless motor control (how to?)

    I assume you are talking about a 3 phase bldcm, if so I have recently been working on that (fixing issues created by others) in a design that uses the Infineon DC motor control shield with BTN8982...
  23. Replies
    3
    Views
    4

    Re: Convert 4-20 mA to 1-9 mA

    Assuming you are talking about a mathematical solution using a PIC and not an analogue circuit solution then unless I am missing something the answer is deceptively simple...
    first subtract 2 thus...
  24. Re: Continuation character for variables

    How good are your binary to hex, hex to binary skills?
    I prefer to use hex instead of binary wherever I can even for 8 bit values as it break it up into small easy to manage 4 bit chunks, i.e. your...
  25. Re: Support for Les... a change of heart?

    It is not clear to me if you are referring to producing Arduino type shields for PIC development boards or an Arduino equivalent PIC development board?

    If the former will there be sufficient...
  26. Re: Free up some memory by reducing Print command?

    I had a look at an old program (18F device) and every time I used the print command to print 2 lines of 16 character text it required 20 lines of assembler in addition to that taken by the compilers...
  27. Re: Something has changed on the forum....

    I have not lost my avatar although I did notice the lack of code and other formatting buttons when I posted yesterday, although I remembered the code tags were code within [] (opening) and /code...
  28. Replies
    5
    Views
    6

    Re: PC Video player question

    Check to see if Silverlight and Adobe Flash player plugins are installed as I believe one or the other of these is generally required for correct video playback depending on who the webpage is...
  29. Replies
    30
    Views
    31

    Re: UltraEdit adaption.

    Perhaps a specific sequence of comment characters could be used to indicate the start of foldable sections, for example if the special comment was ;:: (assuming ";" is the standard comment indicator)...
  30. Replies
    12
    Views
    13

    Re: Correct use of bit names

    Other than perhaps the additional spaces (if in your actual code) used to align the = INTCON.x text I cannot see where the problem could lie as the following works for me (12F675)


    '~~~ Configure...
  31. Replies
    7
    Views
    8

    Re: Downloading of proton installer

    No problems for me either.
  32. Replies
    5
    Views
    6

    Re: Question on circuit grounding

    Hi John, you are certainly correct in that it could create a ground loops in relation to connecting the screen to Earth.

    However, I advocated not connecting the internal DC 0V to Earth and...
  33. Replies
    5
    Views
    6

    Re: Question on circuit grounding

    Unless there is a pressing need to connect 0V to mains Earth which in my experience is extremely rare I do not think I have ever done it, it can cause ground loops. Instead I usually Earth a metal...
  34. Replies
    29
    Views
    30

    Re: What is the fuss about arduino

    I have to agree, C is a horrid language, the syntax is bad and the way it is formatted is also bad, splitting what can be achieved in a single line of BASIC to 6 lines in C. Makes reading code very...
  35. Replies
    9
    Views
    10

    Re: 18F86J55 Oscillator configurations

    The clue is in it working correctly with the removal if the include files, either the include files contain a different configuration or themselves have an include file which contains a configuration...
Results 1 to 35 of 100
Page 1 of 3 1 2 3