Search found 84 matches
- Thu Oct 24, 2013 11:26 pm
- Forum: Flowcode V5
- Topic: ST7565R GLcd Component
- Replies: 17
- Views: 11949
Re: ST7565R GLcd Component
Thank Ben :D This code drive ST7565R without ReadByte. It's a first draft, Draw_rect and Invert_rect are no write. Clear_lcd, Draw_line, Print_string, Print_number OK //Custom2(0): //Defines: /**** Macro Substitutions **** a = User Define 1 b = User Define 2 c = User Define 3 d = User Define 4 e = U...
- Thu Oct 24, 2013 8:58 pm
- Forum: Flowcode V5
- Topic: ST7565R GLcd Component
- Replies: 17
- Views: 11949
Re: ST7565R GLcd Component
Yesss, it s Ok.
I mix your code with this:
http://mbed.org/users/igorsk/code/DOGLC ... fd318f/LCD
It s perfect. I write the code in Costum.c and I copy here
I mix your code with this:
http://mbed.org/users/igorsk/code/DOGLC ... fd318f/LCD
It s perfect. I write the code in Costum.c and I copy here
- Thu Oct 24, 2013 10:38 am
- Forum: Flowcode V5
- Topic: ST7565R GLcd Component
- Replies: 17
- Views: 11949
Re: ST7565R GLcd Component
I have found ReadByte in your Custom.c in Write_Data function code. char MX_ReadData (void) { char data, i; MX_DATA_PORT = 0x00; MX_DATA_TRIS = 0xFF; //Data port is input set_bit(MX_CONTROL_PORT, MX_READ_WRITE); //Configure to read data set_bit(MX_CONTROL_PORT, MX_DAT_INST); //Configure to send data...
- Wed Oct 23, 2013 4:56 pm
- Forum: Flowcode V5
- Topic: ST7565R GLcd Component
- Replies: 17
- Views: 11949
Re: ST7565R GLcd Component
Hi Ben :D , Thank you. 2 Horizontals lines 1, 50 and 1, 30 2 Verticals lines 1, 50 and 1, 30 1 square h10, w10, x10, y10 1 Text: "TEST" First picture: with data = data | (0x01 << mod_y); http://www.prefaceweb.com/Ftp/Matrix/Glcd_2.jpg 2nd picture: with data = 0x00 | (0x01 << mod_y); http://www.prefa...
- Wed Oct 23, 2013 2:52 pm
- Forum: Flowcode V5
- Topic: ST7565R GLcd Component
- Replies: 17
- Views: 11949
Re: ST7565R GLcd Component
Ok, I have found even problem here: http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=5&t=8262 After many research tests in GotoXY and lcd_Plotpixel, problem is value in "data" For one write pixel there are 2 or 3 pixels on the column. Original lcd_plotpixel Macro void lcd_plotpixel (char x, ...
- Wed Oct 23, 2013 7:18 am
- Forum: Flowcode V5
- Topic: ST7565R GLcd Component
- Replies: 17
- Views: 11949
Re: ST7565R GLcd Component
I write ST7565R code in Custom2.c with Custom.c I have problem with print_string and print_number, like this: http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=29&t=8035&p=22647&hilit=st7565R#p22647 http://www.matrixmultimedia.com/mmforums/download/file.php?id=3203 Custom2.c ST7565R ARM //Cus...
- Tue Oct 22, 2013 2:09 pm
- Forum: Flowcode V5
- Topic: ST7565R GLcd Component
- Replies: 17
- Views: 11949
Re: ST7565R GLcd Component
Great
Thank you for your answer Benj.
Upgrade V5 with V6 is planned, your job is perfect, but I've not this money for the moment.
I try write code in C
Thanks
Thank you for your answer Benj.
Upgrade V5 with V6 is planned, your job is perfect, but I've not this money for the moment.
I try write code in C
Thanks
- Tue Oct 22, 2013 10:19 am
- Forum: Flowcode V5
- Topic: ST7565R GLcd Component
- Replies: 17
- Views: 11949
Re: ST7565R GLcd Component
I found this code, may be help for write ST7565R component for ARM AT91SAM7S http://code.google.com/p/lpc1343codebase/source/browse/trunk/drivers/lcd/bitmap/st7565/ /**************************************************************************/ /*! @file ST7565.h @author K. Townsend (microBuilder.eu) @...
- Tue Oct 22, 2013 7:35 am
- Forum: Flowcode V5
- Topic: ADC input
- Replies: 5
- Views: 4963
Re: ADC input
Hi Phil, If you want just display volume in dB without control you can use ADC but you must add a Continue Current in your audio input line with capacitor in input and ouput of potentiometer. If you want control volume, you can use AD5204 digital potentiometers in SPI with Pic or Attiny http://www.g...
- Mon Oct 21, 2013 7:43 am
- Forum: Flowcode V5
- Topic: ST7565R GLcd Component
- Replies: 17
- Views: 11949
Re: ST7565R GLcd Component
I try with SPI Component, Init sequence is OK but I can't display a line or letter. SPI Component: fosc/64, idle_low, Data transmit on rising clock edge Dispaly is ST7565R 128x64 in SPI mode only, like this: http://www.mikrocontroller.net/attachment/30795/dogm5.jpg&w=800&h=812&ei=88lkUuKOMKnE0QWFioH...
- Fri Oct 11, 2013 11:21 pm
- Forum: Flowcode V5
- Topic: ST7565R GLcd Component
- Replies: 17
- Views: 11949
Re: ST7565R GLcd Component
The team is gone for the weekend without answer for me
- Sat Oct 05, 2013 7:23 am
- Forum: Flowcode V5
- Topic: ST7565R GLcd Component
- Replies: 17
- Views: 11949
Re: ST7565R GLcd Component
I have replaced in Custom.c rom char* with const char But I have a problem with port declaration t.c:6015: error: conflicting types for 'MX_Write_Command' t.c:5996: error: previous declaration of 'MX_Write_Command' was here t.c: In function 'MX_Write_Command': t.c:6016: error: 'portd' undeclared (fi...
- Fri Oct 04, 2013 10:53 am
- Forum: Flowcode V5
- Topic: ST7565R GLcd Component
- Replies: 17
- Views: 11949
ST7565R GLcd Component
Hi, I have a Flowcode V5.5 ARM and I search ST7565R GLcd Component. I try with old version of Custom.c but I have many problem. t.c:6080: error: 'portd' undeclared (first use in this function) t.c:6080: error: (Each undeclared identifier is reported only once t.c:6080: error: for each function it ap...
- Fri Oct 04, 2013 10:42 am
- Forum: Flowcode V5
- Topic: Flowcode v5.5 with DSP for all variants
- Replies: 59
- Views: 103913
Re: Flowcode v5.5 with DSP for all variants
Hi, I upgrade Flowcode V5.3 ARM with last version. I see DSP component and I test this, but I have problem. t.c:2330: error: syntax error before 'MX_SINT8' t.c:2330: error: 'Gene' undeclared here (not in a function) t.c:2330: error: syntax error before numeric constant Gene is name of buffer. How fo...
- Fri Sep 14, 2012 5:12 pm
- Forum: Flowcode V5
- Topic: v5 Beta FAT16 component SDHC
- Replies: 52
- Views: 31920
Re: v5 Beta FAT16 component SDHC
Hi Ben,
With the last version, Init_Fat is perfect without my code.
Thank you
With the last version, Init_Fat is perfect without my code.
Thank you
- Mon Sep 10, 2012 5:01 pm
- Forum: Flowcode V5
- Topic: v5 Beta FAT16 component SDHC
- Replies: 52
- Views: 31920
Re: v5 Beta FAT16 component SDHC
Thank Ben,
Ok for DOS file system
I've changed my filename variabe in filename[12] it's ok.
I can checked SDHC FAT Component with write and read
Ok for DOS file system
I've changed my filename variabe in filename[12] it's ok.
I can checked SDHC FAT Component with write and read
- Mon Sep 10, 2012 4:48 pm
- Forum: Forums d'aide en français
- Topic: Flowcode V5.3 ARM Pro -> Bug List
- Replies: 8
- Views: 6901
Re: Flowcode V5.3 ARM Pro -> Bug List
Hi Ben,
I can up this problem ?
Period Register parameter, like if not = 255 but ~ 200.
Thank you very much for your reply.
I can up this problem ?
Period Register parameter, like if not = 255 but ~ 200.
Thank you very much for your reply.
- Mon Sep 10, 2012 4:23 pm
- Forum: Flowcode V5
- Topic: v5 Beta FAT16 component SDHC
- Replies: 52
- Views: 31920
Re: v5 Beta FAT16 component SDHC
Hi Ben,
Ok, it s a problem with variable length in Open_File component macro. If the variable length is [20] there is a reset cpu.
I ve tried with a variable filename[15] even problem, with filename[10] it's ok.
Ok, it s a problem with variable length in Open_File component macro. If the variable length is [20] there is a reset cpu.
I ve tried with a variable filename[15] even problem, with filename[10] it's ok.
- Sun Sep 09, 2012 1:17 pm
- Forum: Flowcode V5
- Topic: v5 Beta FAT16 component SDHC
- Replies: 52
- Views: 31920
Re: v5 Beta FAT16 component SDHC
Hi Ben, Excuse me, after more investigation, problem is in open_file prog macro. I ve debuged with a clear lcd and delay. I think is even problem with my LCD in write_file prog, (filename) variable disappears. Idea ? I check immediately with name of file fixed in Open_File component macro. :D EDIT: ...
- Thu Sep 06, 2012 9:57 am
- Forum: Flowcode V5
- Topic: v5 Beta FAT16 component SDHC
- Replies: 52
- Views: 31920
Re: v5 Beta FAT16 component SDHC
Hi Ben
I've sent file by mp
Init_prog, scan_Folder, scan_File and Open_File are OK.
There is a Reset after prog_stream_dac boot
I've sent file by mp
Init_prog, scan_Folder, scan_File and Open_File are OK.
There is a Reset after prog_stream_dac boot
- Wed Sep 05, 2012 3:41 pm
- Forum: Flowcode V5
- Topic: v5 Beta FAT16 component SDHC
- Replies: 52
- Views: 31920
Re: v5 Beta FAT16 component SDHC
Thank you Ben
I doing that this night
I doing that this night
- Wed Sep 05, 2012 12:40 pm
- Forum: Flowcode V5
- Topic: v5 Beta FAT16 component SDHC
- Replies: 52
- Views: 31920
Re: v5 Beta FAT16 component SDHC
I ve tested Create_File on SDHC Card, It's OK
But "Filename" variable is no read for display on LCD
-> Problem with read file, so is not Open_File, why CPU reset ?
But "Filename" variable is no read for display on LCD
-> Problem with read file, so is not Open_File, why CPU reset ?
- Wed Sep 05, 2012 11:58 am
- Forum: Flowcode V5
- Topic: v5 Beta FAT16 component SDHC
- Replies: 52
- Views: 31920
Re: v5 Beta FAT16 component SDHC
Thank you Ben, Macro is OK with this code. But with new FAT16 code I must add this code in Init_Fat for a good init, if no I have 254 return retval = MX_Init_Card(); //Startup Card if (retval) { %a_SPI_Set_Prescaler(1); //Try again retval = MX_Init_Card(); //Read Master Boot Record if available if (...
- Wed Sep 05, 2012 10:32 am
- Forum: Flowcode V5
- Topic: v5 Beta FAT16 component SDHC
- Replies: 52
- Views: 31920
Re: v5 Beta FAT16 component SDHC
I have Gcc Error 1 but it s my Personnal Macro in FAT16 FCV_FILE_LENGTH = %a_mx_file_size / 512; // file lenght in sector Gcc Error -> test.c: In function 'FCD_FAT160_File_Length': test.c:3186: error: invalid operands to binary / It's my operands / but what is the good operand for divided by ... Tha...
- Wed Sep 05, 2012 9:52 am
- Forum: Flowcode V5
- Topic: v5 Beta FAT16 component SDHC
- Replies: 52
- Views: 31920
Re: v5 Beta FAT16 component SDHC
Hi Ben,
Thank you very much for your research.
I test this code today ;p
Thank you very much for your research.
I test this code today ;p