Search found 175 matches

by cobra1
Sat Nov 12, 2011 5:50 pm
Forum: Flowcode V2 & V3
Topic: Audio streaming
Replies: 20
Views: 8506

Re: Audio streaming

I have just tried it using a DAC and putting the output to port B, the pulsing is still there so i assume its something to do with how the output is generated. Also the output is terrible, you can just about make out whats being said through loads of static.
by cobra1
Sat Nov 12, 2011 3:22 pm
Forum: Flowcode V2 & V3
Topic: Audio streaming
Replies: 20
Views: 8506

Audio streaming

Hi, Iv been playing with the audio streaming file found in one of the topics, its for streaming wav files from a sd card. I have it all setup and working ok, however the sound quality is a lot worse than i expected, it sounds like its underwater. Also to go with it there is this constant pulsing noi...
by cobra1
Wed Nov 09, 2011 6:13 pm
Forum: Flowcode V2 & V3
Topic: .Bmp to LCD ??
Replies: 52
Views: 22495

Re: .Bmp to LCD ??

Ok, thats cool, i will get as far as i can now and see what happens, just out of interest how does one shift the pproperties up?? is it just a case of changing numbers to higher values?
by cobra1
Wed Nov 09, 2011 5:50 pm
Forum: Flowcode V2 & V3
Topic: .Bmp to LCD ??
Replies: 52
Views: 22495

Re: .Bmp to LCD ??

Hi, Thanks for your reply, very detailed. I can work from that i think, there was one last thing i saw in the flowchart im not sure on. In the Load bitmap chart, you have a macro being called, its the one labelled "load the pixel" whats would i do there?? I know in the glcd component theres a plot p...
by cobra1
Wed Nov 09, 2011 1:40 pm
Forum: Flowcode V2 & V3
Topic: .Bmp to LCD ??
Replies: 52
Views: 22495

Re: .Bmp to LCD ??

Hi jonny. Thans for the reply. I am still a bit lost tho. I don't get how you get the info from the memory card to the LCD. What do i do with the code you posted? Does that go into the main of my code in a C box? Also a bit confused with the headers thing. Software isn't really my thing so I'm reall...
by cobra1
Tue Nov 08, 2011 10:29 pm
Forum: Flowcode V2 & V3
Topic: .Bmp to LCD ??
Replies: 52
Views: 22495

Re: .Bmp to LCD ??

The LCD will be 16bit colour too, im guessing that makes it all the more difficult to do.
by cobra1
Tue Nov 08, 2011 7:38 pm
Forum: Flowcode V2 & V3
Topic: .Bmp to LCD ??
Replies: 52
Views: 22495

.Bmp to LCD ??

Hi, Im looking to upload a .bmp image as a bootup flash screen. So far i know i have to put the image onto an SD card. The image would be to the required pixel size, i.e 320x240 pixels. When this is done what is the next step? how do i get the data from the SD card to LCD display? In a previous thre...
by cobra1
Tue Nov 08, 2011 1:35 pm
Forum: Flowcode V2 & V3
Topic: version5 GLCD??
Replies: 5
Views: 2775

Re: version5 GLCD??

Oh nice. Are any of the glcds around 3inch ?? If so would you have a part or model numer for it so I can check them out.
by cobra1
Tue Nov 08, 2011 11:02 am
Forum: Flowcode V2 & V3
Topic: version5 GLCD??
Replies: 5
Views: 2775

Re: version5 GLCD??

Hi steve.
Are any of them colour LCDs?
Also will there be any functions to display .bmp images. I think that could be useful to a few people.
by cobra1
Mon Nov 07, 2011 9:26 pm
Forum: Flowcode V2 & V3
Topic: version5 GLCD??
Replies: 5
Views: 2775

version5 GLCD??

Hi,
I have just seen that v5 will be out soon, in the datasheet it says that there is a new GLCD/Touchscreen.

What is the new GLCD going to be??

Cheers
by cobra1
Wed Aug 31, 2011 7:27 pm
Forum: Flowcode V2 & V3
Topic: Real Time Clock On Timer1
Replies: 1
Views: 2278

Real Time Clock On Timer1

Hi, Iv been reading up on making a RTC using Timer1, I see that what i need to do is connect a 32.768khz crystal to T1OS1 and T1OS0, along with a few other components. In flowcode it gives the option in Timer1, TRANSISTION ON T1CK1 PIN. So now i guess that the timer is counting the pulses on the 32....
by cobra1
Wed Aug 31, 2011 6:52 pm
Forum: Flowcode V2 & V3
Topic: 18f26k20 @ 64mhz
Replies: 4
Views: 2968

Re: 18f26k20 @ 64mhz

ok, so i removed the delays you added out of curiosity to see if these were slowing down the data transfer, when removed the LCD updates at a good speed, not as fast as i would like but close enough.
by cobra1
Wed Aug 31, 2011 6:47 pm
Forum: Flowcode V2 & V3
Topic: 18f26k20 @ 64mhz
Replies: 4
Views: 2968

Re: 18f26k20 @ 64mhz

Hi Ben

Thanks for your help, that appears to have allowed the screen to work again, but even at this speed its still slow at refreshing, when creating a full screen box, you can see it as it renders the screen, scrolling down. Is there any way to speed this up more?
by cobra1
Mon Aug 29, 2011 10:44 pm
Forum: Flowcode V2 & V3
Topic: 18f26k20 @ 64mhz
Replies: 4
Views: 2968

Re: 18f26k20 @ 64mhz

Ok, after many hours of playing i have got it running at 64mhz :)

Problem is now the LCD im using (nokia LCD) wont work. it doesnt want to display anything.

Can the LCD be used at this speed? i am trying to get a faster refresh rate on the LCD.
by cobra1
Mon Aug 29, 2011 1:19 pm
Forum: Flowcode V2 & V3
Topic: 18f26k20 @ 64mhz
Replies: 4
Views: 2968

18f26k20 @ 64mhz

Does anyone know how to do this? i read that you can set the internal oscilator to 16mhz, (osccon=0x70;) then enable the PLL to multiply by 4 giving 64mhz, (pllen=1;) i can get it to work with 16mhz internal osc, but when i try and turn on the PLL it stops working. In the config i have it set to INT...
by cobra1
Sun Aug 28, 2011 7:38 pm
Forum: Flowcode V2 & V3
Topic: Glcd Fonts
Replies: 8
Views: 6479

Re: Glcd Fonts

Just an update, I figured out the colour of the font issue, also added in a few extra commands to set x, y orientation, and also setup for the contrast There was one last thing, is there any way to speed up the write to the LCD? it seems pretty slow as you can see it scrolling when filling in a box ...
by cobra1
Sun Aug 28, 2011 6:13 pm
Forum: Flowcode V2 & V3
Topic: Glcd Fonts
Replies: 8
Views: 6479

Re: Glcd Fonts

Hi Ben, I have got my LCD wired up and finally got it to display something. The LCD has to be turned upside down to read it but thats not a major concern. This command : gLCD_SendByte(MX_GFXLCD_CMD, 0x20); //No inveMX_GFXLCD_RSion, 0x21 would be inverted display (different coloMX_GFXLCD_RS!) does no...
by cobra1
Wed Aug 24, 2011 6:55 pm
Forum: Flowcode V2 & V3
Topic: Glcd Fonts
Replies: 8
Views: 6479

Re: Glcd Fonts

Hi Ben Thanks for that link, i think i can work it out from here. 1more thing about these LCDs, what chipset does flowcode support?? in the forums i read a post from one of the admins saying it was a Phillips chipset, however in the EB043 pdf it says it an Epson chipset. Could you confirm which one ...
by cobra1
Tue Aug 23, 2011 11:49 pm
Forum: Flowcode V2 & V3
Topic: Glcd Fonts
Replies: 8
Views: 6479

Re: Glcd Fonts

I think i may have found something, //ASCII Pixel data #ifdef _BOOSTC rom char* ASCII1 = %j rom char* ASCII2 = %k rom char* ASCII3 = %l rom char* ASCII4 = %m rom char* ASCII5 = %n rom char* ASCII6 = %o rom char* ASCII7 = %p rom char* ASCII8 = %q do i replace this with the ascii code pixel codes, and...
by cobra1
Tue Aug 23, 2011 9:14 pm
Forum: Flowcode V2 & V3
Topic: Glcd Fonts
Replies: 8
Views: 6479

Glcd Fonts

Hi, Im looking into playing with the Nokia LCD again, I was looking at the PDF from the older eblock with this LCD onboard, the EB043 i think. It touches on creating fonts and texts, using a lookup table. At the end of this PDF is a lookup table. When you open up the Glcd in flowcode and goto ext pr...
by cobra1
Wed Jul 20, 2011 9:00 pm
Forum: Flowcode V2 & V3
Topic: RS232 Clearing Buffer???
Replies: 1
Views: 2198

RS232 Clearing Buffer???

Hi, i am having a problem with the RS232, basically if i send data across to my PIC without the code actually receiving the character, it seems to sit there. When i actually want the PIC to read the data sent to it, it reads the data that was sent to it before hand first, Is there a way to wipe this...
by cobra1
Sat Jul 02, 2011 1:37 pm
Forum: Flowcode V2 & V3
Topic: making 5x8 characters into 6x8
Replies: 4
Views: 3405

Re: making 5x8 characters into 6x8

Ok, after much hair pulling, i got it to work. thanks for your help Ben, much appreciated.
by cobra1
Thu Jun 30, 2011 12:45 pm
Forum: Flowcode V2 & V3
Topic: making 5x8 characters into 6x8
Replies: 4
Views: 3405

Re: making 5x8 characters into 6x8

Hi Benj, Thanks for your reply. Can my macro be altered to do this or do I have to use and modify your macro? If I have to use your macro is it just a simple case of replacing mine with it and it works? Or do I have to use your modifications and adapt them to my macro The reason I ask is because all...
by cobra1
Wed Jun 29, 2011 10:59 pm
Forum: Flowcode V2 & V3
Topic: making 5x8 characters into 6x8
Replies: 4
Views: 3405

making 5x8 characters into 6x8

Hi, I need a bit of help with some code modification, im trying to add in an extra column to get 6x8 characters. heres the code im working with /*Macro_LCD_Print_String_Start*/ char xwidth, xpix, ypix, pos_Str, count, xcount, ycount, height, width, i; char Fontwidth = 1; //First we assume small font...
by cobra1
Tue Jun 21, 2011 5:27 pm
Forum: Flowcode V2 & V3
Topic: Temperature reading 0.1 resolution
Replies: 5
Views: 3713

Re: Temperature reading 0.1 resolution

OK, using the string method iv done it, i can only use 0.5c resolusion practically, but it will do nicely for me. There is one more thing i need help with if you dont mind. I need to use this formula for temperature compensation on my humidity sensor, but again this would involve floating numbers. T...