Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    6,106

    Re: How to Serial comm. wait for a string?

    Thanks for advices, I think I can go with Heckler's example. I'll give it a try .

    correct me if I get it wrong, it waits for "$GPRMC," string, and then writes first byte to hh second to mm third...
  2. Replies
    8
    Views
    6,106

    How to Serial comm. wait for a string?

    Hello guys,
    I wan't to try something but can't figure out how to do it...
    I want to connect a PIC to a raspbery over UART and want to send commands to PIC via serial using minicom. But I dont know...
  3. Replies
    11
    Views
    33,615

    Re: SSD1306 Include example

    Great job :rolleyes:
  4. Replies
    11
    Views
    33,615

    Re: SSD1306 Include example

    Hello TimC,
    I was trying to create a second char table with your include file which is double sized fonts. I used page mode and double lines to create fonts (maybe using horizontal mode was better...
  5. Replies
    21
    Views
    24,440

    Re: Cannot drive I2C Oled :(

    Yes TimC that is my answer =)
    By the way, I tried your init suggestion and it's fine (I didn't know that upper limit of contrast was 7F) then I wanted to see your include file and sample code (good...
  6. Replies
    29
    Views
    17,413

    Re: A/D Conversion Clock Select bits confussion ..

    FOSC is Frequency of OSCillator, so if you are using 32MHz internal osc, your fosc is 32MHz if you are using 8MHz external osc then your fosc is 8 MHz and if you are using 4 MHz external with PLL...
  7. Replies
    21
    Views
    24,440

    Re: Cannot drive I2C Oled :(

    By the way TimC, your character table is clearly more efficient and Flash friendly. I will try it too when I have opportunity.
    But I want to ask something first; I'm not sure how LOOKUP and LOOKUP2...
  8. Replies
    21
    Views
    24,440

    Re: Cannot drive I2C Oled :(

    Good question there timc
    I realised that I forgot setting DC in init after some time.
    Funny Fact: After I set DC to $80 for INIT routine, oled not worked properly (or maybe not worked at all,...
  9. Re: 16F870A, ULN2803, Stepper motor = very low torque, any problems with code?

    You won't need L297 since you already controlling it with PIC. L298 is enough. Check this link: http://www.hoelscher-hi.de/hendrik/light/stepper/bistp.gif
    But remember , control commands probably...
  10. Replies
    21
    Views
    24,440

    Re: Cannot drive I2C Oled :(

    It is same oled I used. First of all, sending 00 and FF for seeing empty and full screen won't work try 00 and 0F. I think ssd1306 outputs are not able to drive all leds at same time. Secondly, your...
  11. Replies
    4
    Views
    3,239

    Re: Lookup with variable contents??

    Many thanks, altough I couldn't use arraywrite, lookup2 and DIG combination solved it :)
    Actually I checked lookup2 before but I think I misread it's explanation, I was thinking that lookup2 is for...
  12. Replies
    4
    Views
    3,239

    Lookup with variable contents??

    Hello,
    I searched some threads releated wiht this but I couldn't see an efficient answer unfortunately, so I had to open a new thread.

    What I wonder is it possible to use a variable in lookup?
    I...
  13. Replies
    21
    Views
    24,440

    Re: Cannot drive I2C Oled :(

    Hi guys, I again thank you for your code examples Sherbrook. Now I completed my codes and I think they can be helpful.
    Anyway I wanted to share my codes for others too. Maybe someone can improve and...
  14. Replies
    21
    Views
    24,440

    Re: Cannot drive I2C Oled :(

    Thank you so much, I'm able to drive the screen and light up any pixel I want on screen. I think I was misusing i2cwrite command on my code. Now its ok.
    Here is my trial code for blinking any line...
  15. Replies
    21
    Views
    24,440

    Re: Cannot drive I2C Oled :(

    Thanks Sherbrook,
    It's label is not CRIUS but I checked CRIUS, they are same displays. I would be really greateful if you can find those codes so I can crosscheck my codes with yours to find what...
  16. Replies
    21
    Views
    24,440

    Re: Cannot drive I2C Oled :(

    Thanks Demon, you are right about it :)
  17. Replies
    4
    Views
    4,072

    Re: Disable/Enable in Interrupts

    This would also work but I think it would cause problems for you. For example;
    if you call sub2 before calling sub1, then interrupts wont be disabled
    if you call sub1 and return to main, then again...
  18. Replies
    21
    Views
    24,440

    Cannot drive I2C Oled :(

    Hello guys, I tried to drive a 0.96" 128x64 I2C oled screen whole week and I'm about to go crazy because of this... I'm able to run the screen with arduino but I want to do it with a 877f (well I'm...
  19. Replies
    10
    Views
    14,423

    Re: OLED 128X96 cheap china lcd

    Hello,
    I have a 128x64 0.94" mono oled with ssd1306, I copied and tried CircuitDomain's modified code since he's using same device but I couldn't see any graphics on screen :\
    I'm using 16f877a...
  20. Replies
    1
    Views
    4,529

    Re: Trying to learn HSERX usage

    I found the problem, it looks like both of transmit and receive pins must be set as inputs. Otherwise it doesn't work. Hope this helps other beginners =)
  21. Replies
    1
    Views
    4,529

    Trying to learn HSERX usage

    Hi guys, I didn't use serial communication before ad now I'm trying to learn basics with a simple circuit. I wandered on forums and read most of topics but can't find where my mistake is.
    I'm trying...
  22. Replies
    2
    Views
    2,055

    18f4520 TMR0 8Bit question

    Hi guys, a simple quick question, should i load TMR0L or TMR0 when using timer0 in 8 bit mode ?

    T0CON=%11000010 ;Timer 0 is on, 8 bit mode, 1/8 prescaler
    TMR0=254 ;start timer
  23. Re: Keypads HELP! hehe, Need advice and possible code.

    I think you have a mistake here


    INT_LIST macro ; IntSource, Label, Type, ResetFlag?
    INT_Handler INT0_INT, _KEYPRESS, PBP, yes
    endm
    INT_CREATE ;...
  24. Replies
    17
    Views
    27,477

    Re: Hot to handle multiple interrupt sources?

    Ok now, something very funny and absurd has happened :confused: Before explaining everything, I want to thank again everybody for their help.
    I started to test codes and tried to find where was the...
  25. Replies
    17
    Views
    27,477

    Re: Hot to handle multiple interrupt sources?

    ---wrong alert---
Results 1 to 25 of 32
Page 1 of 2 1 2