Search Results - Proton BASIC community web site


Search:

Type: Posts; User: Stephen Moss

Page 1 of 3 1 2 3

Search: Search took 0.06 seconds.

  1. Re: Help with ppi and def files for 24FJ256GA704

    You may be correct, although from a quick cursory scan through sections 4.2.5 & 4.3 of the data sheet as well as the EDS document in the note at the beginning of section three I get the impression it...
  2. Re: Help with ppi and def files for 24FJ256GA704

    In the PPI file the register names I2C1CON (added to solve compile issue), I2C1CON1 and I2C1CONL (both pre-existing) are just different user friendly aliases for the same register (all have the same...
  3. Re: Help with ppi and def files for 24FJ256GA704

    I think the problem is that on some devices that have multiple registers associated with something the first register is terminated with a number and on other devices it is not, i.e.
    Device 1: is...
  4. Re: Compile to HEX from Assembler plugin - HELP

    I don't know about using the assembler plugin this way as I (and I suspect most) users have never tried it as we code in Basic and let the compiler do its thing. Consequently, there may only be one...
  5. Re: PIC24FJ256GA705 Family Devices Are They Fully Supported in Proton 24 ?

    There are no device files for P24/33 devices in that folder and as far as I know there are no .inc files for them, only .dev files but...
    a) They may have been the source files used to create the...
  6. Re: 300 new BNF files (names only - no comments)

    Compiler Keyword Conflicts:
    I had not realized when producing the bitname files that some of the BitNames used by these devices are also compiler keywords (i.e. If, Sleep, Swap) which is obviously a...
  7. Replies
    23
    Views
    24

    [SOLVED !] Re: Help for Fatigue testing controller

    It is boring and you might have to do it several times to understand it but try reading the data sheet, it is as I said the compiler now automatically sets all pins to digital but if you want to do...
  8. Replies
    10
    Views
    11

    Re: random number in Edata

    The code Harm suggested is similar to my ADC suggestion in that uses bit 0 of consecutive ADC reads of a floating ADC pin to fill a byte of data (as opposed to all 8/10 bits I suggested). I am not...
  9. Replies
    11
    Views
    12

    Re: Setting the A/D range to 1Volt range

    Unless I am missing something if the AN2 & AN3 pins are available you just configure the ADC to use external Vref- & Vref+ voltages set via a method of your choice to 2V & 3V respectively. Then you...
  10. Replies
    10
    Views
    11

    Re: random number in Edata

    Your problem is that it is difficult to get a truly pseudo random number. I do not know how the Random instruction generates a number but any random number generator starts with a seed value, if that...
  11. Replies
    23
    Views
    24

    [SOLVED !] Re: Help for Fatigue testing controller

    It would help people if you could be a little clearer with your description of the problem...
    "what is wrong with my code,all leds on PORTA lights up" is unclear as it does not give us much to go...
  12. Replies
    23
    Views
    24

    [SOLVED !] Re: Help for Fatigue testing controller

    This may do what you want, if not then I am out of ideas/unable to understand what it is you want to do as initially it sounded like you want in increment both inset and intime as a count and now it...
  13. Replies
    23
    Views
    24

    [SOLVED !] Re: Help for Fatigue testing controller

    intime will increase while PortD.0 is low because that is what you have told it to do

    If PORTD.0=0 Then Inc intime
    If you meant to say intime is increasing while PortD.1 is low and it should not,...
  14. Replies
    23
    Views
    24

    [SOLVED !] Re: Help for Fatigue testing controller

    It is not clear how you are incrementing your set point counter as you have not provided any code or other information but if you are simply incrementing a variable value surely placing the increment...
  15. Re: ADC alternative way to capture Data using nbuilt Fix voltage reference

    At first I thought this was relating to simultaneously using the FVR as the ADC reference voltages and measuring the FVR voltage with the ADC, highlighting the difference between the reference...
  16. Thread: Usb - c

    by Stephen Moss
    Replies
    9
    Views
    10

    Re: Usb - c

    I have not checked the USB documentation but if that is correct they should consider replacing the word Serial with some a little shorter.
    Finding the right USB cable to charge a device with can be...
  17. Replies
    23
    Views
    24

    [SOLVED !] Re: Help for Fatigue testing controller

    I assuming you want to read a potentiometer and for that reading to set your time delay.
    If that is correct then...
    Read Potentiometer value, use ADin Commands (unless you prefer writing to the...
  18. Re: 300 new BNF files (names only - no comments)

    Personally, I would probably check the datasheet anyway as it is not always clear from the description what the function is or if it needs to be set to a 1 or 0, particularly as that may be...
  19. 300 new BNF files (names only - no comments)

    I know that many if not all of the PIC24 and PIC33 devices supported by Proton do not have BitName files and having to enter them by hand is a bit of a pain so having a couple of free days I wrote...
  20. Re: Writing parameters in the Flash memory of a PIC24

    I may be wrong but as I understand it you need to use the Ptr commands.
  21. Re: PIC24FJ256GA705 Family Devices Are They Fully Supported in Proton 24 ?

    Probably just a typo, anomalies like this do occasionally appear in the PPI files. I have only checked the 24FJ256GA705 file but all the relevant registers are there with the correct addresses so I...
  22. Replies
    21
    Views
    22

    Re: 16 leds to drive, how?

    I have never used one but would a digital pot give enough of a suitable variation to work? That said a variable current is probably more precise that variable resistance.

    How about a summing...
  23. Re: Streaming the same audio track in real time to two different locations

    I would have thought the company building the display would have off the shelf solutions for getting the signal there but if you really want to create your only solution I can only think of three...
  24. Replies
    23
    Views
    24

    [SOLVED !] Re: Help for Fatigue testing controller

    For UP and UD have you tried try replacing DEC0 with DEC, as those are word values and not floating point.
    By specifying the number of digits to display after the decimal point you may be tripping...
  25. Replies
    15
    Views
    16

    Re: Changing EDA software

    I tried KiCAD as for some reason it was being recommened to students at work and I did not like it, I did not like the workflow/interface and thought parts library was poor but that does not mean you...
  26. Re: Ports not working when using PORTA = %111111

    The fact that writing each bit individually appears to solve the problem does suggest it may be a compiler issue but does not conclusively eliminate a device/design issue.

    Typically I would say...
  27. Replies
    10
    Views
    11

    Re: Procedures return parameter

    I like you am just getting into trying procedures by converting an old working program so that I can see if the output and thus my code is correct. Hense, I may be wrong but I believe it is to the...
  28. Replies
    5
    Views
    6

    Re: ADC Help on Pic 24 Please?

    If it works with a pot then you code is probably fine.
    I am assuming you are using a R-2R ladder, but regardless of that are you driving the output of the ladder directly into the ADC or are you...
  29. Re: PIC24FJ64GB004 To A 2x16 Alpha LCD ?

    You do not appear to have declared the display type.

    This is my setup for a 24FJ64GB002 device with a 2x16 Alphanumeric display (PIC = 3.3V, LDC = 5V, 3.3V into the LDC - no 3.3V to 5V...
  30. Replies
    5
    Views
    6

    Re: Oven temperature issue

    Sound like you have replaced the original temperature sensors, if so was that a k-type for k-type replacement or not?
  31. Replies
    14
    Views
    15

    Re: Remote programming with Pickkit2

    it is unclear as to exactly the method you will be using to get the updated code to your customer although it sounds like you intend to send them a pre-programmed PICKit 2, in which case you would be...
  32. Replies
    13
    Views
    14

    Re: Internal clock calibration

    I noticed this post the other day but did not reply as I did not understand the question, are you taking about an internal time/date clock or the system clock?

    I may be wrong but from the brief...
  33. Replies
    4
    Views
    5

    Re: Don't care bits

    I agree with tumbleweed, use the default of the register summery/power on values is a good approach, but if it is a don't care then surely you can set it to a 1 or 0 depending on your whim at the...
  34. Replies
    39
    Views
    40

    Re: Web site advertising

    I did have "Ad blocking" set in the browers but set or not set did not make any difference, as you and Dompie indicated no problems, it had to be something specific with my set-up.
    After a long...
  35. Replies
    6
    Views
    7

    Re: Vertical Lines

    You could download Proton Studio, it is still under development but very usable. It includes a PDF viewer, has code folding and being written by John Barrat many of his plug-ins such as the Fuse...
Results 1 to 35 of 100
Page 1 of 3 1 2 3