Search Results - Proton BASIC community web site


Search:

Type: Posts; User: joesaliba

Page 1 of 5 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    12
    Views
    2,749

    Re: Anybody used the ADS1115 16bit A/D?

    Some progress.

    I did managed to get some readings. The problem with Les code was the address for the ADS1115 connected to GND.

    Data sheet says: - %1001000

    and I think Les interpreted it as...
  2. Replies
    12
    Views
    2,749

    Re: Anybody used the ADS1115 16bit A/D?

    So I have tried Les code, but I am using an 18F26K22 and a 4MHz crystal

    I used the original I2C routines, so removed the: -


    Include "Bus.inc" ' Load the replacement Busin and...
  3. Thread: Fusion 360

    by joesaliba
    Replies
    20
    Views
    358

    Re: Fusion 360

    Not a 3D forum for software, but for 3D printing machines, and yes on social media.
  4. Thread: Fusion 360

    by joesaliba
    Replies
    20
    Views
    358

    Re: Fusion 360

    Just click that you are a student and you have 5 years free. I did that and it works. Known that from other 3D forums.
  5. Thread: Fusion 360

    by joesaliba
    Replies
    20
    Views
    358

    Re: Fusion 360

    Fusion 360 is free for 5 years if you register.
  6. Replies
    31
    Views
    430

    Re: PIC 18F1330 HPWM problem

    Thank you so much. Looking forward.
  7. Replies
    7
    Views
    86

    Re: HD44780 positioning the cursor.

    Yes,

    I have seen a lot on this forum where line 3 is a continuation of line 1, and line 4 is a continuation of line 2.

    Having said that, the LCD I use does not have that problem and I can print...
  8. Replies
    4
    Views
    1,067

    Re: Protected Words

    Yes, the following need Declare in front of them: -

    RSOUT_PIN
    RSOUT_MODE
    SERIAL_BAUD
    RSOUT_PACE

    The following there is NO need to make Declare in front of them: -

    Device
  9. Replies
    31
    Views
    430

    Re: PIC 18F1330 HPWM problem

    Sorry to hijack this thread.

    Dompie, do you have a working code for that board? Never did SPI so do not know from where to begin.
  10. Replies
    9
    Views
    98

    Re: Reset from the software

    Keytapper,

    Once I read on this forum of a way to reset the PIC by adding a transistor to the MCLR pin and reset the PIC on a hardware method rather than software. Do not know if you have PCB ready...
  11. Replies
    9
    Views
    98

    Re: Reset from the software

    Les,

    I totally agree with you that the 18F devices are a lot better. However, Microchip never did an 8-pin device for the 18F which is very handy in small applications.
  12. Replies
    7
    Views
    86

    Re: HD44780 positioning the cursor.

    I use a 4*20 LCD. My type of LCD wraps to the next row if I go over 20. However, I had display simply not wrapping if I exceed the number of column. So I think that not every LCD behaves the same,...
  13. Replies
    4
    Views
    1,067

    Re: Protected Words

    I think you have to write it this way: -


    Declare Create_Coff = On

    or


    Declare Create_Coff = True
  14. Replies
    24
    Views
    179

    Re: New Prusa mini 3D printer

    Get Fusion360, it is free and very good. A couple of minutes on YouTube wil get you going to design 3D prints.
  15. Re: Dongle Issues with Windows 7 64 Bit. Making it difficult to use already purchased

    Gary,

    Use USBDeview to view USB devices being connected. Then delete only that device.

    Have you read post #3 of this thread? If yes, follow the instructions on the Wiki. 98% of the users that...
  16. Replies
    24
    Views
    179

    Re: New Prusa mini 3D printer

    Prusa had always made some of the finest 3D printers. Having said that, I did not read anything on this new printer.
  17. Replies
    12
    Views
    2,749

    Re: Anybody used the ADS1115 16bit A/D?

    Thank you Tim. Looking forward.

    Dave, I have a couple of ADS1115 breakout boards which like to use them. However, thank you for pointing me to new devices.
  18. Replies
    12
    Views
    2,749

    Re: Anybody used the ADS1115 16bit A/D?

    Hi Tim,

    Searched for an ADS1115 on this forum and this is the only thread that came up.

    How did it worked for you please?
  19. Replies
    72
    Views
    455

    [OFFER] Re: Proton MKII Development Board

    Just received my box from Crownhill. Thanks Lester.

    Who ever packed the box must be super good in packing.
  20. Replies
    88
    Views
    262

    Re: Les's ILI9325 Wiki code

    Same here. Could someone please post the missing files maybe the one that I downloaded are incompatible?
  21. Replies
    72
    Views
    455

    [OFFER] Re: Proton MKII Development Board

    Lester,

    I wrote here because on Crownhill website it says out-of-stock.
  22. Replies
    72
    Views
    455

    [OFFER] Re: Proton MKII Development Board

    Lester,

    Do you have some Amicus boards for me please, say two?

    Thanks
  23. Replies
    6
    Views
    40

    Re: Relational Operators

    Paul,

    I have not tried your problem but as a workaround I think the following will work: -


    If A < B Or A = B Then
    ' What you want to do here
    EndIf

    If you make all tests and find that...
  24. Thread: Draft Posts

    by joesaliba
    Replies
    4
    Views
    39

    Re: Draft Posts

    Yes that was what I am referring to. Sorry for the double post.
  25. Thread: Draft Posts

    by joesaliba
    Replies
    4
    Views
    39

    Re: Draft Posts

    Hi Lester,

    It been a week that I did not access the forum as I was abroad on holiday. I have seen the `Rely with Draft', however, on top of the page there was a ribbon that after you click on...
  26. Replies
    9
    Views
    62

    Re: Is XTAL available at compile time

    Bob,

    Have a look at how errors are handled in this piece of code once I found around: -


    $if _device = _16F88
    Declare Reminders Off
    @ CONFIG_REQ = 0 ; Override Compiler's configuration...
  27. Replies
    9
    Views
    38

    Re: CWRITE and 18F25K50

    What I always was/am afraid of is the write address.

    How one would know where to write to a particular PIC address without messing with the code space? And is the same for using i.e. a 12F1572?
  28. Re: Using a PLC HMI to communicate with a pic

    Geoff,

    I did some basic stuff with Nextion. If you encounter problems sending data just let me know. Having said that, I have the early display versions, the enhanced ones seems to be better with...
  29. Replies
    24
    Views
    38

    Re: The use of USB with the 18F2550

    I cannot find the two USB PIC's I had, so for now cannot do any test.

    One thing I remember is that in my code I made a loop to test if the PIC can send data to USB.

    Why? Because if the COM...
  30. Replies
    10
    Views
    1,310

    Re: USB Memory stick

    Les,

    By any chance, have you made progress on the library for this module? Thanks
  31. Re: Using a PLC HMI to communicate with a pic

    I use Nextion and they are good. However, do not expect the same level of help as here on their forum. Just browse through some of their forum posts and you realise what I mean.

    Geoff sorry for...
  32. Replies
    24
    Views
    38

    Re: The use of USB with the 18F2550

    The CDC I used was practically turning a PIC into a COM port.

    If I have any chance, which is very rare at the moment, I will try to compile the code and see if it works.
  33. Replies
    24
    Views
    38

    Re: The use of USB with the 18F2550

    Yves,

    Way back in 2013, (that is what the Wiki says), I did connect a PIC with USB and controlled 8 LED's. Have a look here.

    Having said that, That was an old version of the USB CDC and never...
  34. Replies
    5
    Views
    15

    Re: Dev boards (I can't afford)

    Will kkep it in mind for next order, perhaps they will offer me that 10% discount as well!
  35. Replies
    5
    Views
    15

    Re: Dev boards (I can't afford)

    Couldn't agree more!
  36. Replies
    5
    Views
    15

    Re: Dev boards (I can't afford)

    I use the EasyPic v7. it I priced at $149 and still in stock. Great board, no ZIF socket but I do a lot of work on it.

    Hardware debug work only with their debug hardware, at least that of how I...
  37. Replies
    32
    Views
    21,302

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

    Hi all,

    Old thread but definitely interesting. I got hold of an MPU6050. I did a search and this code came up. It looks so complicated, thanks to ronyintel for sharing his findings.

    What I am...
  38. Replies
    71
    Views
    1,826

    Re: Proton Compiler Button Toggle Procedure

    I would also have a good look and study Les code with Procedure. It is very neat, and if you need to alter something you do it inside the Procedure, which is way faster than looking through the code.
  39. Replies
    71
    Views
    1,826

    Re: Proton Compiler Button Toggle Procedure

    Amod,

    Now that you have submitted a piece of code, therefore you are trying to learn, I am ready to help.

    Your code works, but you may have noticed that when you pressed the button perhaps the...
  40. Replies
    71
    Views
    1,826

    Re: Temperature Controller Problem

    Amod,

    Please do not take it that I am going to be rude.

    However, I already said this and I am going to say it again.

    You never put up a piece of code, working or not, and put it here for...
  41. Replies
    71
    Views
    1,826

    Re: Temperature Controller Problem

    Yes, it can be done.
  42. Replies
    71
    Views
    1,826

    Re: Temperature Controller Problem

    Again Amod,

    You are missing to give a small program code which you think it works.

    Please forget the 7-segment display and instead write a small code that it prints to an LCD so I can track...
  43. Replies
    71
    Views
    1,826

    Re: Temperature Controller Problem

    Amod,

    I would suggest that you first write a small code that prints to an LCD. As LCD's are widely used, there is more chance that forum users can do test of your code and come up with a solution....
  44. [SOLVED !] Re: USB license key works on my win 10 and refuse to load on win 7

    Glad I was of help.

    Happy Easter to all!
  45. [SOLVED !] Re: 12F683 help needed reading values from GP4 and GP5

    Can you explain briefly what you want to do? I can see no Main loop and cannot understand what you are trying to do.

    Why are you writing to eeprom and than there is no read from eeprom?
  46. [SOLVED !] Re: USB license key works on my win 10 and refuse to load on win 7

    Have a look here maybe it can help you. It helped to solve similar problems to others.
  47. Re: PIC24FJ256GA705 Family Devices Are They Fully Supported in Proton 24 ?

    Entering Device = 24FJ256GA702 it turns blue in the IDE so it seems to be supported.
  48. Replies
    15
    Views
    48

    Re: Changing EDA software

    Have you considered EAGLE?
  49. Replies
    27
    Views
    1,764

    Re: Help With OLED Display / 128X64 SSD1306

    That will make a superb add-on for this code!
  50. [SOLVED !] Re: Ports not working when using PORTA = %111111

    What PIC are you using?

    If using an 18F device try change PORTA to LATA and PORTB to LATB.
  51. Replies
    5
    Views
    28

    Re: PICD or other debugger questions

    Bob,

    Have a look at Snapshot. Do not know if it meets your requirements.
  52. Replies
    9
    Views
    23

    Re: How a PCB is made in China

    I have used ITEAD and lately cheaper, but very good quality, JLCPCB. For a prototype, if I am not in a hurry is not worth anymore to DIY, especially if it is double sided.
  53. Replies
    16
    Views
    36

    Re: Software to configer Fuses

    Gerard,

    Can you please stick to the rules and post all question / answer in English please?
  54. Re: Tesla acquires Maxwell for dry electrode technology?

    Converted my car to LPG. Here price is half that of petrol.

    Having said that I am waiting for my CH-R Hybrid. Hope it is enjoyable to drive as the Prius!
  55. Replies
    10
    Views
    29

    Re: Floating point addition problem

    Colin,

    Try to do instead of: -

    BasicFreq = 7038600

    make: -

    BasicFreq = 7038600.00
  56. Re: johngb has just uploaded Proton Studio Update 1.0.1.11!

    Thanks John.
  57. Replies
    11
    Views
    41

    Re: Ethernet to RS232 converter

    Following. Would like to use something similar.
  58. Replies
    26
    Views
    50

    Re: Valid time in NMEA sentance

    I use the M8N from u-Blox. I found to be very good, and cheap!
  59. Replies
    6
    Views
    130

    Re: GPS speed logger for RC planes.

    Good to know. I will buy a cheap GPS with a patch antenna and make some tests.
  60. Replies
    18
    Views
    47

    Re: I'm over the moon with joy. :-)

    Thumbs up Les.
  61. Replies
    14
    Views
    57

    Re: Wheelchair speed control

    Thinking about it, as you are monitoring the wheel rotational speed, you can used that in the ISR.

    Required speed is set by the joystick, so in the scaling, scale the joystick output to match...
  62. Replies
    14
    Views
    57

    Re: Wheelchair speed control

    Also please make the necessary tests. The code above was used into an RC fuel pump to test a gas turbine. For me it works, but maybe it needs same modification to suite your needs.
  63. Replies
    14
    Views
    57

    Re: Wheelchair speed control

    Here is how I did the scaling: -


    Dim Scale_dValueIn As Dword
    Dim Scale_dInMin As Dword
    Dim Scale_dInMax As Dword
    Dim Scale_dOutMin As Dword
    Dim Scale_dOutMax As Dword
    Dim...
  64. Replies
    14
    Views
    57

    Re: Wheelchair speed control

    The following is placed into a 1KHz interrupt routine.

    My motor, (which is not a brushless motor) has a starting PWM, which you will find as PW_Set in the code. Just left it there just in case you...
  65. Replies
    14
    Views
    57

    Re: Wheelchair speed control

    Important is to add acceleration and deceleration delay to smooth out abrupt movement.
  66. Replies
    6
    Views
    130

    Re: GPS speed logger for RC planes.

    David,

    I used this device because of the omni direction antenna. Sparkfun used to have those antennas. They are essential for flight because the GPS can be positioned in any direction.

    I looked...
  67. Thread: Pt100

    by joesaliba
    Replies
    4
    Views
    23

    Re: Pt100

    Thanks Tim,

    And that is why I got another controller because I couldn't find one PT50.
  68. Re: Advice needed - multiplexing 7 segment displays.

    Looking for these sensors I encountered these ready made units.

    Worth peanuts so I bought one, and they use the K-type thermocouple.

    For longer leads I also bought another K-type thermocouple.
  69. Re: Advice needed - multiplexing 7 segment displays.

    Fanie,

    Have a look here for low cost PT100.

    Also, as I said, the problem with this car booth spray was a wire.

    The sensor reading was around 57ohms at 14deg room temperature, so I assume at...
  70. Thread: Pt100

    by joesaliba
    Replies
    4
    Views
    23

    Pt100

    I went to look a car booth spray temperature controller as readings where incorrect. Turned out to be a wire. However, I would like to buy some spare sensors just in case the one fitted goes wrong.
    ...
  71. Re: Advice needed - multiplexing 7 segment displays.

    A few years ago I took Fanie circuit diagram and made a PCB for it. If someone needs it I can share EAGLE files.
  72. Replies
    30
    Views
    65

    Re: 3D printer. Yey!!!!

    I printed PTEG and is very strong, though a bit more flexible. Never did ABS.

    I also printed with wood filament. It comes out very nice. You have to change the nozzle to 0.6mm. I have settings for...
  73. Re: Dongle Issues with Windows 7 64 Bit. Making it difficult to use already purchased

    Elliot,

    Have a look at this Wiki link. 98% of who had trouble installing the Sparkey drivers for the dongle solved the issue.
  74. Replies
    3
    Views
    11

    Re: Uninstall plugins

    There is a folder: -

    C: > User > username > AppData > Roaming > PDS > PlugIn

    Make sure you can view hidden files and folders. Perhaps you need to delete this folder to remove all plugins.
  75. Replies
    6
    Views
    7

    Re: A very Merry Christmas to you all

    Happy Christmas Les and family and everyone on this forum. Wish you health, prosperity and happiness.
  76. Replies
    6
    Views
    8

    Re: It is almost Christmas

    Merry Christmas and a Happy New Year to all!
  77. Re: Detecting for the presence of pulses not using interrupts

    I read that you are going an alternative route but....

    I do not think that analog will work. You said that when the fan stops, no pulses, the analog value goes up indicating that the fan had...
  78. Re: Can't change duty cycle on CCP2 (PORTC.1) PIC18F46K20 HPWM 2

    Have a look at this thread maybe it is a similar problem.
  79. Replies
    14
    Views
    43

    Re: Driving 2 LCD Modules from 1 CPU

    Zip the files first and then you can upload them.
  80. Replies
    12
    Views
    49

    Re: Procedures in the 8-bit Proton Compiler

    Les,

    I never used Procedures as of until now I have not used the P24. Having said that I am ready for a donation and begin using Procedures, if I do understand how they work.

    One question! The...
  81. Replies
    17
    Views
    74

    Re: RS485 transmission

    I have some 487 and will use these half duplex. Thanks for your help, much appreciated.
  82. Replies
    17
    Views
    74

    Re: RS485 transmission

    Yes, had same thought. Will use 24v and drop to 5v. But MAX488 power supply will be 5v, correct. Read somewhere else that powering a MAX488 with 12v are just on the edge of burning them.

    And no,...
  83. Replies
    17
    Views
    74

    Re: RS485 transmission

    Will it be ok to power up to four PIC's with RS488 and transmission with 350m of CAT5 with 5v power over the CAT5?
  84. Replies
    7
    Views
    27

    Re: Log in problems again.

    Using Edge I never log out and never had a login issue.
  85. Re: Can the PRINT command halt program execution??

    If `sign' is a variable then you can do the following: -

    sign = $2D ' This is for a `-' sign

    or

    sign = $2B ' This is for a `+' sign

    Then: -
  86. Replies
    41
    Views
    124

    Re: Advertisement on the forum

    I'm in too.
  87. Replies
    17
    Views
    74

    Re: RS485 transmission

    Thank you Gamboa. Very kind of you to share the code. I will study it and try to implement it in my design.
  88. Replies
    42
    Views
    109

    Re: Web site advertising

    Ok. Once I did the reply now the link is active. Before it was more like a picture, couldn't even select the text.
  89. Replies
    42
    Views
    109

    Re: Web site advertising

    Lester,

    I am trying to sign to Amazon prime but there is no link when you read the forum. However the link appears when I am doing this reply.
  90. Replies
    17
    Views
    74

    Re: RS485 transmission

    I am going to use around 300m of CAT5 wire @ 9600 baud rate. Should I go lower than 9600?
  91. Replies
    17
    Views
    74

    Re: RS485 transmission

    The problem is that I cannot use Les's Buffered_Hserin, and I do not know the reason why.
  92. Replies
    17
    Views
    74

    Re: RS485 transmission

    So I had to shelf this project for a couple of months, but now I need to get it going.

    I setup two MAX488 for full duplex and it works as expected using HRSout and HRSin.

    I wanted to use the...
  93. Replies
    33
    Views
    1,224

    Re: Multiple functions by a single switch

    Try this one: -


    Declare Reminders Off
    @ CONFIG_REQ = 0 ; Override Compiler's configuration settings
    Asm-
    __Config _Config1, 0x20D4 ;FOSC_INTRC_NOCLKOUT & WDTE_OFF & PWRTE_OFF & MCLRE_OFF &...
  94. Replies
    42
    Views
    109

    Re: Web site advertising

    This morning there are no adverts.
  95. Replies
    33
    Views
    1,224

    Re: Multiple functions by a single switch

    Which oin of the PIC are you using for the decimal point? Is it set as digital output?
  96. Re: SHIN generates ASM ERROR with the 16F18877

    Is that a new website for PDS information?
  97. Replies
    33
    Views
    1,224

    Re: Multiple functions by a single switch

    I came up with some code, not tested but should work.

    Two important things: -

    1. Wheel_Value is the value of your thumb wheel. You have to see how to acquire this setting of the thumb wheel and...
  98. Replies
    17
    Views
    56

    Re: P24 (using Procedures) for 18F Pics??

    Same here .
  99. Replies
    33
    Views
    1,224

    Re: Multiple functions by a single switch

    Can you please explain connection of thumbwheel switch? And when to start the counter? When you press a push or something similar.
  100. Replies
    33
    Views
    1,224

    Re: Multiple functions by a single switch

    The code in post #4 is what it do!
  101. Replies
    33
    Views
    1,224

    Re: Multiple functions by a single switch

    So my example code works for you. I used that method long time ago and it works, maybe it needs some tweaks but it works. If you have an LCD attached it is even better because you can see at what...
  102. Replies
    33
    Views
    1,224

    Re: Multiple functions by a single switch

    The following code will go through five different function upon your selection. This was a quick code just to let you think about it. NOT TESTED but should work.


    Dim Sele As Byte = 0
    Dim Time...
  103. Re: Les has just uploaded Proton Compilers Full Installer - Proton 3.6.2.6 - Proton24

    Thanks Les!
  104. Replies
    2
    Views
    12

    Re: exception on (bypass) clear command

    Before I read the eeprom part I was thinking the same, write to eeprom and then retrieve it. If you are running out of eeprom space you could use a CWrite, but I never used it so cannot give you...
  105. Replies
    7
    Views
    20

    Re: Watchdog timer

    Thank you all for your help.

    I couldn't agree more with Mellbreak, nice summary Stephen, thanks.
  106. Replies
    7
    Views
    20

    Re: Watchdog timer

    @Dave: - Thanks for that. So I assume that DOGTIME is the time the watchdog is set.

    @Tumbleweed: - I am able to set it via the config settings, what I am unsure is if I have to place the CLRWDT...
  107. Replies
    7
    Views
    20

    Watchdog timer

    I have a code that basically looks for four input and four outputs, depends on various timing and input conditions. I use interrupt and some delays in main code.

    I was thinking to add a watchdog...
  108. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    920

    [SOLVED !] Re: Simple timer

    I had seen what you wrote before you edited the post.

    Have a look at my comment in post #15 regarding printing and interrupt. You are all correct in what you are saying.
  109. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    920

    [SOLVED !] Re: Simple timer

    Exactly. See my comment in post #18.

    This week I just done a controller / timer for a jacuzzi. As I am using the same button to start or stop before the time elapse I use a couple of timers within...
  110. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    920

    [SOLVED !] Re: Simple timer

    I am sorry but I cannot help you with this code. I did my best to come up with a working code and believe me I spent quite some time, I know the code I posted works so not going to see this code.
  111. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    920

    [SOLVED !] Re: Simple timer

    See Mos,

    As I said earlier you cannot do the Print in the loop to show the remaining time as this is time consuming and instead of say, 45 seconds, you end up with 80 seconds. I know because I...
  112. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    920

    [SOLVED !] Re: Simple timer

    Ok. I think I came up with something you desire.

    I think I also found an anomaly within the compiler which I will be posting in another thread if my findings are correct, at least with 18F...
  113. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    920

    [SOLVED !] Re: Simple timer

    Ok now I think understand.

    I will try something else later.
  114. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    920

    [SOLVED !] Re: Simple timer

    I did some code, tested on real hardware and it works. It is doing what I understand what you want.

    Please note the following: -

    in my case, I had to use different pins: -

    To start the pulse...
  115. Replies
    25
    Views
    33

    Re: Delphi or Visual Studio etc. ?

    I did not done too many applications, but the one I have made I used Visual Basic.

    I needed a gauge and used DotNetBar with Visual Studio. Just have a look here and see how you can turn a simple...
  116. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    920

    [SOLVED !] Re: Simple timer

    I will try to come with something tomorrow, too busy today.

    When the counter reach zero, how long should the pulse stay ON?
  117. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    920

    [SOLVED !] Re: Simple timer

    Post your code and please explain a bit better what you want.
  118. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    35

    Re: Symbol

    I do not have that PIC, but it is similar to 18F26K22, but with more pins.

    The following compile with no errors. Can you check it out?

    Stack underflow has nothing to do with the code I...
  119. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    35

    Re: Symbol

    What PIC are you using? The code I posted is from a copy and paste working code, so if you copy and paste and change to your PIC it should work.
  120. Replies
    2
    Views
    21

    Re: Anomaly reports

    Ok. Better to know.

    Thanks.
  121. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    35

    Re: Symbol

    Same as I suggested. I think it is the only method.
  122. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    35

    Re: Symbol

    I do not think you can as you have mixed PORT.

    Having said that, I think once I read somewhere on the forum where two ports can be `added together', but cannot find it.
  123. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    35

    Re: Symbol

    Load my example into your development board, change the PIC to the type you have, and you will see that it works.

    The code I posted mimics your pin input as well. If I press PORTC.3, PORT0 will be...
  124. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    35

    Re: Symbol

    You cannot work as the code you posted.

    You need that from time to time you go and RELOAD PORT0 with the state of the pins.

    Have you seen my WORKING example?

    I Gosub Comp every 100ms to...
  125. Replies
    2
    Views
    21

    Anomaly reports

    I cannot find the anomaly reports shortcut. Usually it was under `Forum Action' if I remember.
  126. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    35

    Re: Symbol

    This tested and work: -


    Device = 18F26K22 ' Device selected

    Xtal = 16 ' Selected frequency

    OSCCON = %01111000 ' Set internal...
  127. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    35

    Re: Symbol

    Depends the state of the pins. If all of them is 0, then PORT0 will be 0.

    I have a working code like that. Will dig part of a large code for you to see.
  128. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    35

    Re: Symbol

    I use the following method and it works. I also use it with a Word variable as I exceed 8 pins: -


    Dim PORT0 As Byte = 0

    Symbol Pin_1 = PORTA.0
    Symbol Pin_2 = PORTA.1
    Symbol Pin_3 = PORTA.2...
  129. Replies
    30
    Views
    65

    Re: 3D printer. Yey!!!!

    Les,

    As I suggested in post #2 Fusion 360 is impressive, at least from my perspective.

    As a printer I have the Creality CR10S. I heard some good things about the Ender.
  130. Replies
    6
    Views
    57

    Re: PIC16F18877 - no PWM output

    George,

    That is something that Fuse Configurator do.
  131. Replies
    30
    Views
    65

    Re: 3D printer. Yey!!!!

    That is super cheap Les. Thanks for the info re CNC machine.
  132. Replies
    30
    Views
    65

    Re: 3D printer. Yey!!!!

    Couldn't agree more Bob. Depends on what I am printing I select the correct infill in Simplify3D. I use 3DPrima filament. Superb prints all the time. and if it still available, they had an offer that...
  133. Re: Les has just uploaded Proton Compilers Full Installer (Mk2) - Proton 3.6.2.3 - Pr

    This time looks ok Les. Thanks for the quick update.
  134. Replies
    12
    Views
    485

    [SOLVED !] Re: Pulse counter memory problem

    Thanks for your kind words.

    The idea came when I needed to write to eeprom every 20 minutes on an 18F26K22, which have 1024 eeprom address, and made my grey cells work harder.
  135. Replies
    30
    Views
    65

    Re: 3D printer. Yey!!!!

    If you succeed in PLA recycling I will buy PLA from you :smug:
  136. Replies
    30
    Views
    65

    Re: 3D printer. Yey!!!!

    There was another software from Autocad. Autocad 123D. All you had was objects such as triangles, squares spheres etc. and you merged, fix sizes etc. It was a free version, but Autocad decided to...
  137. Re: Les has just uploaded Proton Compilers Setup 3.6.2.3 - 1.0.5.3!

    Les,

    Uninstalled the previous compiler and installed this version. However, every time I hit Compile it is searching for the compiler and nothing will compile.
  138. Replies
    30
    Views
    65

    Re: 3D printer. Yey!!!!

    Les,

    Right now I am printing a large print. The print will be a sunshade for my Nvidia tablet which I use to fly the drone with. Unfortunately, I did not find a sunshade for my tablet as size is...
  139. Replies
    12
    Views
    485

    [SOLVED !] Re: Pulse counter memory problem

    Les,

    With regards eeprom cycle lifespan, if I need to save say every half an hour, I use a method to write to different eeprom address. Reading back is simple.
    This is a summary of what I do.
    ...
  140. Replies
    12
    Views
    485

    [SOLVED !] Re: Pulse counter memory problem

    Amod,

    As suggested include as many comments as you can. I do also add a comment for an Endif!

    I know that everyone have his owns and means how to write code. But I would suggest to make it more...
  141. Thread: HRSIn `Wait'

    by joesaliba
    Replies
    0
    Views
    15

    HRSIn `Wait'

    Is it possible to do something as follows: -



    Dim Brd_Add As String * 5 ' String to hold board address
    Brd_Add = "#ABC" ' Load Brd_Add with #ABC string
    HRSIn1 {500 , Main},...
  142. Replies
    6
    Views
    28

    Re: Password website

    Frizie,

    Maybe is not what you are looking for but worth to mention: -

    Go to Settings > General Settings > Thread Display Options > Thread Display Mode.

    Then do your settings from there....
  143. Replies
    18
    Views
    38

    Re: Inexplicable fault. Any tips?

    Same here. Connected communication lines with other display units but not supply!
  144. Replies
    8
    Views
    11

    Re: EEPROM write time

    Thanks Les.
  145. Replies
    8
    Views
    11

    Re: EEPROM write time

    So there is no need to add a delay. That is super.

    Also the single page write instead of single ones is interesting. I read something about eeprom chips but not a PIC. How can that be achieved?
    ...
  146. Replies
    8
    Views
    11

    Re: EEPROM write time

    So after I write to an eeprom I do a delay of 4ms x # of bytes to write. In this case, I am writing a Dword so 4 bytes, so when I write a Dword I do a 16ms delay, Word 8ms and byte 4ms.

    Right now...
  147. Replies
    13
    Views
    59

    Re: PORT INDEX help-me

    Yes agreed, but sometimes it is really necessary to use that method of SetPin / ClearPin where a just aliasing a symbol is impossible.
  148. Replies
    8
    Views
    11

    EEPROM write time

    I am using an 18F26K22 @ 16MHz and using eeprom to store some data.

    I have read somewhere on this forum that a minimum delay to write to an eeprom is needed. I think it was 10ms.

    So, I have 4...
  149. Replies
    5
    Views
    20

    Re: Managing Anti Virus Software

    I use MS Edge and Windows antivirus, Windows Defender. Never had an issue.
  150. [SOLVED !] Re: usb dongle not recognizes in win10 computer

    Have a read here it might help.
  151. Re: johngb has just uploaded Proton Studio Ver 1.0.1.6!

    Just found other parameters for a Pick kit 2: -

    pk2cmd -A5.0 -PPIC$target-device$ -F$hex-filename$ -E -M -J -H4 -R -Y
  152. Re: johngb has just uploaded Proton Studio Ver 1.0.1.6!

    Well, my MikroProg does work in PDS without inverted commas but do need them with Proton Studio.

    Do not have a PicKit at the moment so cannot try it.

    But I did found something on my old PC....
  153. Re: johngb has just uploaded Proton Studio Ver 1.0.1.6!

    Bob,

    Just make sure to include quotes something like the following: -

    -w -pPIC$target-device$ -f"$long-hex-filename$" -q

    The above is for MikroProg. Do not know if it works with Pickit.
  154. Replies
    103
    Views
    191

    Re: Malware on this website?

    Thanks Lester. Will continue when I have some spare time.
  155. Replies
    103
    Views
    191

    Re: Malware on this website?

    Or better,

    Can you delete Industry News altogether?

    Seems that lots of videos and dead links are coming from there!
  156. Replies
    103
    Views
    191

    Re: Malware on this website?

    Lester,

    I cannot hard delete. And two, Maxim news and TI News have a lot of non existing links. It seems I do not have or cannot delete these Industrial News. Can you remove them please?
  157. Replies
    103
    Views
    191

    Re: Malware on this website?

    What should I do with the video threads, delete them? I am editing your post for you to see. What about the threads I cannot edit? Mainly TI news have some non existing links.
  158. Replies
    103
    Views
    191

    Re: Malware on this website?

    Lester,

    Before I find more time to continue I am noticing that most of the links you submitted does not work. Instead, I have to right click the mouse and copy the link, paste it in another...
  159. Replies
    103
    Views
    191

    Re: Malware on this website?

    Lester,

    I will begin looking at these posts and if there is a link to a non existing site or I will edit the post, or delete as appropriate.
  160. Replies
    103
    Views
    191

    Re: Malware on this website?

    I also used this web based scan.

    A lot to read after a test but cannot understand most of it.
  161. Replies
    103
    Views
    191

    Re: Malware on this website?

    Another worth read site. Directed by Google to this website.
  162. Replies
    103
    Views
    191

    Re: Malware on this website?

    I have run a scan using this website. It seems that these sites can remove the malware but there is a fee. Obviously not everyone do everything for free.

    3550
  163. Replies
    103
    Views
    191

    Re: Malware on this website?

    I am having a read here, but as it looks pretty complicated to locate where the malware is. Still reading. I know nothing about web pages but you never know. So I am googling around.
  164. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Henk,

    I got the rain sensor model number. It is an Irritol RainSensor Model RS500. It is a wired device. There is also the RS1000 which is wireless and the RFS1000 model which also detects freeze....
  165. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Henk,

    At work we use a rain sensor that uses a material that soaks water, expands, and turn on a microswitch. To dry out, it `simulates' the period the soil takes to dry. Very simple and works...
  166. Replies
    103
    Views
    191

    Re: Malware on this website?

    I did some editing to these posts you mentioned perhaps google will `look' at it in a different way. But cannot replicate it using Microsoft Edge.
  167. Replies
    103
    Views
    191

    Re: Malware on this website?

    Could be word spelling? I run Microsoft edge no problem.
  168. Re: Not supported commands for 12-bit core devices

    I use the 12F675 with no problems.

    Have you tried using the analog on this 12F510?
  169. Replies
    15
    Views
    262

    Re: RC522 RFID Code

    mjturner,

    Why don't you make a small article in the WIKI so it does not get lost in the forum?
  170. Replies
    38
    Views
    65

    Re: Proton Studio

    @Henk,

    It seems that the 'Compiler Path' under Options was broken with last update. Go to `Options > General > Compiler Path', locate PDS path and you should be ok.



    @Stephen,

    I would add...
  171. Thread: ms5611

    by joesaliba
    Replies
    1
    Views
    13

    Re: ms5611

    Thank you so much. Much appreciated.
  172. Replies
    38
    Views
    65

    Re: Proton Studio

    If you look at the bottom of the editor page you will see that the sample was opened as `Read only'. This makes sense because it is a sample file. Imagine you changed something from a sample file,...
  173. Replies
    38
    Views
    65

    Re: Proton Studio

    Bob,

    There is an issue with programmers and John is looking into it.

    I can confirm the hard work and effort John had put into this IDE. The first alpha of the IDE was last December, with...
  174. Replies
    33
    Views
    1,039

    [SOLVED !] Re: Pulse counter using COUNTER command

    Alberto, I pointed out to your article as a reference only.
  175. Replies
    33
    Views
    1,039

    [SOLVED !] Re: Pulse counter using COUNTER command

    Have a look here. Alberto has done a great job.
  176. Re: Code for Driving 2,3 or 4 seven segment displays

    Alberto,

    Does the latest update which include the keypad is capable of printing float numbers?
  177. Replies
    33
    Views
    1,039

    [SOLVED !] Re: Pulse counter using COUNTER command

    Amod,

    I would suggest to read the manual, put up a piece of code, publish it here and one can help where to fix.
  178. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Henk,

    I know it is a silly question but have are you sure that PORTB.0 TRIS register is set to input? Is there any other peripherals associated to that particular PORT that is causing the trouble?...
  179. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Ah ok. I thought you was doing some tests to test PORTB.4 and PORTB.5.
  180. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Should'nt be: -



    If PORTB.0 = 0 Then
    High PORTB.4
    High PORTB.5
    Else Low PORTB.4
    Low PORTB.5
    EndIf
  181. Replies
    7
    Views
    15

    Re: RSIN timing out to quickly

    Try to add a weak pull-up on the receiving pin. Had similar problem, not waiting for a specific character, but it seemed that `interference' on receiving pin was triggering the receiver to receive.
  182. Replies
    22
    Views
    101

    [SOLVED !] Re: Hx711 calibration

    There is no need for Alberto to send you the code. It is all in the Wiki.
  183. Replies
    7
    Views
    20

    Re: Cable source in UK

    LOL that would be super!
  184. Re: Code for Driving 2,3 or 4 seven segment displays

    Great work Alberto. I, (and surely others), much appreciate your code sharing.
  185. Replies
    3
    Views
    27

    Re: Self Calibrating Routine

    Not much different of hoe to do it yourself, maybe worse. But I find it really useful especially when I have to measure a 1v range with 0.01v difference.

    Shared it a couple of times on the forum...
  186. Replies
    3
    Views
    27

    Re: Self Calibrating Routine

    Fanie,

    I've been using your routine, (a bit altered), for the last two years.

    Well, surprised that you just posted it and I have been using it for the last two years?

    You see when you...
  187. Replies
    4
    Views
    12

    Re: Why is my device restarting

    For me you have the VBOR set a bit too high @ 4.6v. You have 4.9v supply and I think that when you connect the LCD it drops that 0.3v for a short period and the PIC resets. Can you disable the...
  188. Replies
    22
    Views
    50

    Re: Cdata and Cread

    Thanks Les for your answer. I do not want to hijack this thread so please, if you have 5 minutes spare have a look at this thread post #1. I would like to learn how to possibly approach such problem...
  189. Replies
    22
    Views
    50

    Re: Cdata and Cread

    I get confused when trying to do something with CWrite. I think even for the CWrite it needs some tweaking to the manual. For instance, I cannot understand the use of ORG 2000 in the manual.
  190. Replies
    15
    Views
    2,724

    Re: LCD Chr Generator Plug-In

    Sorry I did not reply before, totally forgot. However I did not had a solution for you. Can you explain what you have done please?
  191. Replies
    10
    Views
    46

    Re: HPWM low frquency limitation

    Promoted to article in the Wiki here.
  192. Replies
    7
    Views
    32

    Re: Easier way to initialize EEPROM

    I do the following whenever I need to begin with a default value, in your case the following: -



    If ERead 0 > 0 Then ' Check if it the first time that PIC is running this code.
    ...
  193. Replies
    15
    Views
    2,724

    Re: LCD Chr Generator Plug-In

    Sorry for the late reply. Windows 10 64bit.

    Do you have the plugins installed before installing this file?
  194. Replies
    15
    Views
    2,724

    Re: LCD Chr Generator Plug-In

    Dolci,

    I downloaded same file I posted and installed it my machine. No problems at all. Try to Run it As Administrator.
  195. Replies
    25
    Views
    47

    Re: Just to let you know

    Thanks George.
  196. Replies
    15
    Views
    2,724

    Re: LCD Chr Generator Plug-In

    Use that file and have no problems. Have you tried Run it As Administrator?
  197. Replies
    25
    Views
    47

    Re: Just to let you know

    Can I call a Sub from another Sub, keeping in mind same rules that apply to Gosub and Return with regards to stack?
  198. Replies
    15
    Views
    2,724

    Re: LCD Chr Generator Plug-In

    Got a copy which I am attaching.
  199. Replies
    7
    Views
    23

    Re: Proton stopped working!

    Could you post code?
  200. Replies
    46
    Views
    14,975

    Re: Pdf Now V3.0.1.0 Released

    Will try it. love this plugin, but also have other programs that when I need to open a PDF from them they try to locate Acrobat DC, and result in an error.
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4