Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: RAM used ?

    by Michael
    Replies
    0
    Views
    950

    RAM used ?

    I saw some answers to this posted here but seemed to be nothing straightforward.

    Is there an easy way (not too time consuming) to see how much RAM is being used after you compile ?
    I have...
  2. Replies
    2
    Views
    1,363

    12LF1552 -- support?

    I ordered some 12LF1552 I need for extra ram. Microcode supports it but does PBP gold edition? Can't find that info at melabs.
    Also -- is there anything peculiar or special I need to know when I...
  3. Replies
    3
    Views
    1,525

    Re: Ired remote control pb code

    Disregard this post.
    Sorry -- problem sol ved
  4. Replies
    3
    Views
    1,525

    Re: Ired remote control pb code

    And although just grabbing the leader pulse with a 12F508 worked fine, just discovered the
    BTNVAL VAR BYTE[32]
    is a problem (unable to fit error) so need to try and get around that. never had...
  5. Replies
    3
    Views
    1,525

    Re: Ired remote control pb code

    couldn't see a way to edit post so ----

    I wasn't thinking. 0xFF629D =

    11111111 0110 0010 1001 1101

    Leader is 11111111

    Address is 0110 0010 ?
  6. Replies
    3
    Views
    1,525

    Ired remote control pb code

    This is an adaptation of some code for NEC remotes that is on this forum. Up till now I've just been using it for decoding the leader pulse to enable a simple on/off switch and it works great, but...
  7. Thread: Random PBP

    by Michael
    Replies
    14
    Views
    9,044

    Re: Random PBP

    This is an older post I searched because I need to generate a random number and saw you can do it with a word variable. Like this fella, I need a smaller number.

    I'm having a hard time grasping...
  8. Replies
    0
    Views
    1,238

    SEROUT sending data to python script

    I'm desperate so thought I'd ask here, if anyone is also familiar with python. Using a PI to read data from a pic.

    Everything works fine as long as I have the serial port in this loop --

    def...
  9. Thread: Read from pic?

    by Michael
    Replies
    1
    Views
    1,716

    Read from pic?

    This may be a stupid question as I have never had the need to do it but I have a programmed pic that I didn't copy protect and want to (possibly) see the code I used for it.

    When you read a hex...
  10. Replies
    3
    Views
    2,019

    Re: SEROUT loop with pause

    Ok thanks. Yeah, I can't remember but it may have been a VB.net program that I needed to slow down the loop to keep it from hogging the cpu. I have the python script reading the PIC, so I may take...
  11. Replies
    3
    Views
    2,019

    SEROUT loop with pause

    Force of habit or maybe there was a reason I put a pause after serout in a loop. I know that I discovered the hard way that I needed to do that in Python to keep the cpu from working too hard (and a...
  12. Replies
    8
    Views
    6,602

    Re: 16f1847 hserout

    Fellas --

    Is there any way to simply flip a byte so that MSB becomes LSB or vice versa?
    Can't remember what the default is but I need to reverse it (or redo my *^% switches).

    Thanks.
  13. Replies
    8
    Views
    6,602

    Re: 16f1847 hserout

    3.3v seems to be working well so far. I breadboarded the pic feeding into the PI uart.
  14. Replies
    8
    Views
    6,602

    Re: 16f1847 hserout

    Thanks.
    My ultimate goal is to interface a 16F1847 to a Raspberry PI 3B with RS485. The PI UART though needs 3.3v but I do see that the 16F1847 will work at 3.3V ? Can anyone verify that it...
  15. Replies
    8
    Views
    6,602

    16f1847 hserout

    Hello Folks -- going to (hopefully) use a 16F1847 with HSEROUT. Always have used the software SEROUT before so this is new territory.

    To possibly save time, could someone tell me the commands to...
  16. Replies
    1
    Views
    5,727

    1st time with battery -- 12F508

    In all my years, never tried to run a pic with a battery. Have some 12F508 and will use a couple of AAA batteries.
    It's for an outdoor project and the pic will only power up with a water level...
  17. Replies
    6
    Views
    20,716

    Re: Virtual breadboard?

    Well, what I mean is a simulator that actually ties into a programmed microcontroller. Knew about the analog simulators and tried a few but something that actually sees code and all the peripherals. ...
  18. Replies
    6
    Views
    20,716

    Virtual breadboard?

    I don't have a clue on some advanced things that may be available and have always wondered about simulating simple picbasic projects without going through the processes of actually using the chip. I...
  19. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    9,346

    Re: VS1838B remote

    Thanks Ioannis. That pdf will be my reading later. I may want to do more sophisticated RC stuff also.
    This simple on/off is working great -- only sees NEC remotes. Tried others and no go which is...
  20. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    9,346

    Re: VS1838B remote

    it's working fine but I added leader = 0 to clear it out (duh)
    should have thought of that.
    I need to put the breadboard in the sunshine and see if it stays stable.
    if not, I'll just add his...
  21. Replies
    4
    Views
    3,390

    Re: 12F508 config -- going nuts

    Needed IntRC

    not INTRC

    Ridiculous.

    I spend half my time configuring new chips. Writing code is the easy part.
  22. Replies
    4
    Views
    3,390

    Re: 12F508 config -- going nuts

    I'm just using it to do some simple I/O stuff so 12F508 will be fine. Would appreciate a time saver if anyone can tell me for the osc, I tried em all --

    #config
    __config _? tried...
  23. Replies
    4
    Views
    3,390

    12F508 config -- going nuts

    Thought I'd buy this chip because digikey had so many in stock and search results seemed to make it popular in the 8 pin low cost pics (unless someone has a better idea). Started off using 12f675...
  24. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    9,346

    Re: VS1838B remote

    Pulsin works great. Heck, I just used the first part of that rentron code and did this with it --
    I get a perfect momentary on/off with a bit of needed pause.


    Main:
    PULSIN PORTB.0,0,Leader ...
  25. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    9,346

    Re: VS1838B remote

    I found that Rentron code. Wow. It's all there and well commented -- I'll try it out. His comments really spell it out and teach.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4