Search:

Type: Posts; User: Alberto; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Thread: Mpasmx

    by Alberto
    Replies
    2
    Views
    1,771

    Re: Mpasmx

    After a long time I did try to compile a program getting the same error (I have delated many unused folders, to clean the pc and I should have daleted also MPASMX reference) . Connector.exe did solve...
  2. Replies
    9
    Views
    1,968

    Re: I need to Tx always three digits

    Ok I did re-tested the suggested approch and discover that today they work! I should remember to avoid to do any testing late at night.

    So I did delate the the first two blocks of my code and I...
  3. Replies
    9
    Views
    1,968

    Re: I need to Tx always three digits

    No! I do need to send also the leading zeros! Both shortcut suggested, do suppress leading zeros, so not usable.

    Alberto
  4. Replies
    9
    Views
    1,968

    Re: I need to Tx always three digits

    OK I have verified the two alternative proposed. Neither of them work both send out the true number of digits, so for number from 0 to 9 I get only one digit with number from 10 to 99 two digits and...
  5. Replies
    9
    Views
    1,968

    Re: I need to Tx always three digits

    Thank you pedja089 for the tip. Definetly much better if it works! I will test it and let you know.

    I will also test the following short code (if it works)

    Hserout [str Pulse\43,dec3 DMY]
    ...
  6. Replies
    9
    Views
    1,968

    I need to Tx always three digits

    I am extracting a CRC from a string to send out serially. The resulting CRC can be any number from = 0 to 255 but I need to Tx always 3 digits so I came up with the following code. Is there any way...
  7. Replies
    4
    Views
    2,114

    Re: Strange issue with SSR

    Scampy, these solid state switch come already equipped with a current limiting resistor already integrated inside the switch.

    If you place a led with its resistor in parrallel to the ssr there is...
  8. Thread: Goodbye

    by Alberto
    Replies
    62
    Views
    10,244

    Re: Goodbye

    Well, I have to say that while I was learning (and still learning) to code in python 3, I have found all the library in use in my code all well and professionally documented. I think python is the...
  9. Thread: Goodbye

    by Alberto
    Replies
    62
    Views
    10,244

    Re: Goodbye

    Ioannis, taking into cosideration the economic and technical aspects of my decision, please read the technical features of raspberry pi 0 w

    2835 SOC @ 1GHz
    1GHz
    512MB of RAM
    On-board Wireless...
  10. Thread: Goodbye

    by Alberto
    Replies
    62
    Views
    10,244

    Re: Goodbye

    Well boy, let me jump into this thread with my experience. As a pure hobbist, I moved to raspberry 3
    And I have forgotten pbp3 and pics. Don't know why arduino never attracted me.
    With raspberry...
  11. Re: Circumference of circle to many decimal places

    A circle does't have volume! Very likely you meant Area.

    Alberto
  12. Replies
    3
    Views
    1,961

    Re: Book of DT interrupts

    Thank you for the answer!

    Alberto
  13. Replies
    3
    Views
    1,961

    Book of DT interrupts

    Just two simple questions:

    Is the book finished?

    Why I cannot read it with my IPAD?

    Alberto
  14. Thread: Pic 18F26K40

    by Alberto
    Replies
    17
    Views
    5,451

    Re: Pic 18F26K40

    Thank you mgpmike for posting the code. That's just what I needed to understand how to use the 2nd uart (this is my first time)

    I noted that you define the uarts prior to include the DT interrupt....
  15. Thread: Pic 18F26K40

    by Alberto
    Replies
    17
    Views
    5,451

    Re: Pic 18F26K40

    Thank you for pointing out that 18f26k22 is still in production! This will save me the money and trouble to update my pbp3 ( you never know how it will end up the update!). Additionally, the suggeted...
  16. Thread: Pic 18F26K40

    by Alberto
    Replies
    17
    Views
    5,451

    Re: Pic 18F26K40

    Thank all for the quick reply! I will check @ melabs site how to update my pbp3. You didn't mention the U2 programmer. Does it upgrade automatically with the pbp3 upgrade?

    @ Dave:

    I did...
  17. Thread: Pic 18F26K40

    by Alberto
    Replies
    17
    Views
    5,451

    Pic 18F26K40

    I have in mind a new project where I need two uarts com ports, so I did search microchip site and found the pic 18F26k40 to suite my need. As a second step I did check if my pbp3 (ver 3.09.4) was...
  18. Replies
    10
    Views
    2,974

    Re: Need help with LAT instruction

    Tank you George for the additional input. Yes read and write to LAT register seems the correct way to go. I did change the original alias from (led var portA.5) to (led var LATA.5) and everything...
  19. Replies
    10
    Views
    2,974

    Re: Need help with LAT instruction

    Ok problem solved!

    It was the ansel register that was not set properly so portA.5 was set as analog and hence not responding to a digital command.

    Thank you again.

    Alberto
  20. Replies
    10
    Views
    2,974

    Re: Need help with LAT instruction

    Thank you Dave for your answer.

    The fact is that I am a litlle lost with this LAT register!

    I have a blinking led connected to portA.5 and with 18f2620 I used the alias : Led var portA.5, then...
  21. Replies
    10
    Views
    2,974

    Need help with LAT instruction

    I have recently changed mcu for memory space. I moved from 18f2620 to 18f26k20. But the new pic needs the LAT instruction to work properly.

    Now I have several alias like:

    Bit_Out0. Var portA.6...
  22. Replies
    5
    Views
    3,250

    Re: How to update meCONFIG

    Yes I have pbp3 golden edition and the cip is listed and found. The program meCONFIG is an important tool (at least for me) and it is a pity not maintaining it! I have read several thread where Mr...
  23. Replies
    5
    Views
    3,250

    How to update meCONFIG

    I did purchase some pic 18F1330 for a new project I have in mind. Unfortunatly I discover that this device is not present into my meCONFIG program. I did check at Melab site but could not find any...
  24. Re: Is it possible To change baud rate at runtime?

    Thank you Henrik, very kind of you.

    Alberto
  25. Is it possible To change baud rate at runtime?

    I need to change The baud rate from 9600 to 115200 and then back to 9600. I did try with define but PBP3 does'nt like it and gives error at compiling. Is there a way To do the baud Switching from...
Results 1 to 25 of 66
Page 1 of 3 1 2 3