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...
Type: Posts; User: elcrcp; Keyword(s):
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...
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...
Great job :rolleyes:
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...
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...
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...
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...
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,...
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...
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...
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...
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...
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...
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...
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...
Thanks Demon, you are right about it :)
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...
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...
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...
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 =)
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...
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
I think you have a mistake here
INT_LIST macro ; IntSource, Label, Type, ResetFlag?
INT_Handler INT0_INT, _KEYPRESS, PBP, yes
endm
INT_CREATE ;...
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...
---wrong alert---