Yes.
Hi . Installed latest version 1.01.145. Norton removes the attached file, detects as a virus.
email sent.
Hi I could post the module to you for testing. Would be a lot quicker.
Hi All Just wondering if anyone has interfaced with one of these. Just bought one of ebay 143307220364. Thanks
Excellent. I no longer get the error.
If you think the problem is still linked to GLCD.h and/or ILI9488.h please attach your masters, i will swap with the ones in the include directory. dropbox/onedrive never used either.
Can i be cheeky and say. Have you tried the download and installed on another machine (Fresh install).
I could upload but where? I could zip/burn to disc then post.
Yep silly. Anyway. Still getting the error but only when i add the 'i' What do you need?
Fresh install. using GCstudio latest build. First run of loop test i get the following message. See attached.
Strange, on two different install machines i have the same problem.
Will try a fresh install.
GLCD.h LINE 1776: 'Sub Line(In LineX1 as word, In LineY1 as word, In LineX2 as word, In LineY2 as word, Optional In LineColour as word = GLCDForeground)' and LINE 1854 'Sub Line(In LineX1 as word, In LineY1 as word, In LineX2 as word, In LineY2 as word, Optional In LineColour as Long = GLCDForeground)'
line (10,20,400,20,LONG) ... runs with no errors
Trying different combinations for i=1 to 10 line (10,20i,200,20i, TFT_YELLOW) .......Compiles with errors line (10,20i,200,20i, TFT_GREEN) .......No errors Wait 100 mS next i Appears to depend on colour. '18F4525 ILI9488 Loop Test 19May23a (1).gcb (35): Error: Cannot store 16776960 in the word '
Attached.
I will try on another PC(win10) over weekend. Currently using Win7. Could be an install issue?
Using Synwrite where's the pref's editor?
Sorry. Not sure what you mean.
Attached.
Loop test problem attached.
As above.
GLCDPrint() inserted at line 1015. Re-flashed all ok.
Will do. Just found another small issue. This works with the 9341 display, but with the 9488 i get the message when using 20*i get the error message.
Excellent. All good. Thank you for your speedy help.
amended h file. Make sure done correctly.
Almost There. Yellow is Orange.
Green is displaying as yellow.
Attached.
Attached.
Box colors look OK. Text colors not displayed correctly. Their is text above the white and red box's.
0x3A no change.
Attached
Adding above lines causes errors. see attached.
Tested the discovery program found the ILI9341 with no problems Please see attached for unknown display.
I am using TFT_Color
Thanks for the info. Just to clarify, which pins are the diode and resistor connected across. Will try. I have emailed the seller for more details/data sheet. I am not using the touch controller.
Spoke to soon. Still not right. Colors are not correct.
Finally. Thought the 9488 driver was only for 320*240
I gather i can only run GLCD discovery with the 328, which i don't have.
This is what the ILI9341 driver does. I doubt if its the 9486.
ebay listing: 275576588073 4.0". The display supply and data lines are 3.3V. will try your other recomendations.
Sharing? saying... yes
9341.
screen shot
here's the GCB.
glcd_ili9486l.h is in the include directory. This display has the ILI9846 chip. If i use the attached GCB with the ILI9341 display works perfect.
Sorry. Should have said include 'h' file. C:\GCstudio\Greatcowbasic\include
currently using build 1247. When GC auto updates at start are the ini files updated as well?
Hi I can see that ILI9486l is supported. Is the ILI9486 supported as i can not see the GCLD_ili9486.ini file. I already have running ILI9341 works perfect. Looking to use a 4.0" tft. Pins are identical. Thanks
Just have one to use. I shall do as you have advised.
Hi Would you be able to add the driver for NT7107.? (Farnell 267-5697). Thanks
sent an email address.
no.
Yes I have updated via the link. Yes I am referring to the inbuilt font size.
5 * 7 to 10 * 14.
Is their a GCB command to change the font from 57 to 1014 font?
Yes. Have you seen the same problem?
From lcd.h. I thought it might help. Sorry.
Sorry wrong attachment.
This works. Power cyclescreen displays garbage then resets after a couple of seconds.
GWinstek GPS-4303. Just tried another supply which can deliver 4A, still the same reset problem.
Hi Thanks for checking in 4bit mode. Not sure where the problem lies. If i cycle the power slowly i still get garbage, but if i cycle the power quickly <2s the display then works. Please cycle power.
Hi Thanks for the info. Looks like ill have to revert to LCD. Just prefer VFD's as they look more profesional. Rgds
Hi Using 98.06. VFD display Farnell 149-5420. Parallel interface 8bit works perfectly. If i then change to 4bit i just get garbage display. Swapped out with a pin compatible LCD, works perfect in both 8/4 bit. Has anyone tried the VFD in 4bit? Thanks
Hi Mike Thanks for your help. Have a good break/holiday. Rgds Mike
Hi Mike connected up a 18F25K80 on a different test board. I am getting the same problem as the 45k80. Rgds
Hi Mike Im using a MAX232 chip. Tried your prog. USART2 fully works, USART1 only sends if i REM out 'HSerGetNum Mynum,1' Mike
Hi Mike still not working. inserted comport=1 just before Hserrecive. Then tried comments above. USART fully working but USART does not receive or send. Also tried another 45K80, Their is serial data at the input of Rx1 using my Keysight scope. Could you forward your test for the 25k80. Thanks
Hi Mike Added Comport=1 . Now not receiving on either USART. Mike
Having problems usart both Hardware USART's . Using 98.04. USART 1 , sends OK but does not receive. USART2. Appears to work OK. If i then leave I/P and O/P pins Opencircuit on UASRT1, USART1 also receives what is being sent to USART 2. Strange. Was using a 16F887, fully working although only has 1 USART. Also verifies the MAX232 PC is OK. ;Chip Settings #chip 18F45K80,16 #option explicit ;Defines (Constants) #define LCD_IO 4 #define LCD_RW PORTB.5 #define LCD_Enable PORTB.6 #define LCD_RS PORTB.7...
email sent.
Hi When multiplying 232000 = 46000 'correct When multiplying 2362000 = 13248 'incorrect Help! #chip 18F45k80,64 #option explicit #config OSC=INTIO2, MCLRE=OFF, WDT=OFF #include <glcd.h> #include <maths.h> #define GLCD_TYPE GLCD_TYPE_ILI9341 #define GLCD_DO portc.5 ' Data out | MOSI #define GLCD_SCK portc.3 ' Clock Line #define GLCD_DC portc.6 ' Data command line #define GLCD_CS portd.4 ' Chip select line #define GLCD_RESET portc.7 ' Reset line #define ILI9341_HardwareSPI ' remove/comment out if you...
I do not have more code. I am using a 6 1/2 digit DMM. Therefore 5V/65535=76.3uV I am not seeing this change when incrementing/decrementing by 1.
Even by changing to a lower frequency i am not getting the resolution. Looks as though resolution is set at 10bit.
I was hoping to use full resolution of '1' increment/decrement.
#chip 12F1572,32 #config MCLR=ON #option explicit ' GCB v98.04 dim offsetFWD as word Dir PORTA.2 Out dir porta.4 in dir porta.5 in offsetFWD = 45000 HPWM16On ( 3, 100, offsetFWD) do Forever if porta.5=false then offsetFWD=offsetFWD+1 if OffsetFWD>65500 Then offsetFWD=65500 end if HPWM16(3, 100, offsetFWD) Wait 100 mS end if if porta.4=false then offsetFWD=offsetFWD-1 if OffsetFWD<200 Then offsetFWD=200 end if HPWM16(3, 100, offsetFWD) Wait 100 ms end if loop
Hi I am not able to get the resolution of 16bits, Could you just claify. HPWM16On ( 3, 100, offsetFWD) Offset forward being a word up to 65535, surely any value up to this would give a varied output. I would like to use the output as a DC source, thru a 10kohm with a 10uF cap. I am only seeing resolution of around 1000.
Sorry. Appologies, found a dry joint on board.
Hi Not getting any output on pin 5 ( PWM3). Pin 6 is cycling correctly. ;Chip Settings chip 12F1572,32 config MCLR=ON ' GCB v98.04 Dir PORTA Out #define HPWM16_3_Freq 100 #define HPWM16_3_Duty 50 HPWM16On ( 3 ) do Forever set porta.1 on wait 1 s set porta.1 off wait 1 s loop ```
Thanks for clearing up.
Hi all i'm getting an 8 bit output but not 16bit. ` ;Chip Settings chip 16F1789,32 '------------------------ 'GCB v0.98.03 2018-10-20 '------------------------ 'cccp1 out dir portc.2 out define HPWM16_1_Freq 10 define HPWM16_1_Duty 50 HPWM16On ( 1 ) 'HPWM 1, 10, 255 Main: goto Main `
All Good. Thanks
Still not working.
Works. Thanks.
changed val1 and val2 too long, still get the same answer.
#chip 18F45k80,32 #option explicit #config OSC=INTIO2, MCLRE=OFF, WDT=OFF, BOR=OFF #include <glcd.h> #define GLCD_TYPE GLCD_TYPE_ILI9341 'ver 03Dec18a '------------------------ 'GCB v0.98.03 2018-10-20 '------------------------ #define GLCD_DO portc.5 #define GLCD_SCK portc.3 #define GLCD_DC portc.2 #define GLCD_CS portd.1 #define GLCD_RESET portd.0 #define ILI9341_HardwareSPI GLCDRotate 3 GLCDBackground = ILI9341_BLACK GLCDfntDefaultSize = 3 GLCDCLS dim val1, val2 as Word dim answer as Long val1...
Hi All val1, val2 and answer are dim as long val1 * val2 = answer if val1 = 255 and val2 = 255 calculated answer = 65025 'correct if val1 = 256 and val2 = 256 calculated answer = 0 'incorrect if val1 = 257 and val2 = 257 calculated answer = 513 'incorrect if val1 = 258 and val2 = 258 calculated answer = 1028 'incorrect looks like a carry over issue. GCB v98.03 18F25k80 also tried with 18F45k80 anyone seen this? Thanks
Yes! box and circle work but 'GLCDDrawString' always prints black can't change the color.
#chip 18F25k80,32 #option explicit #config OSC=INTIO2, MCLRE=OFF, WDT=OFF, BOR=OFF #include <glcd.h> #include <maths.h> #DEFINE GLCD_TYPE GLCD_TYPE_ST7735 '------------------------ 'GCB v0.98.03 2018-10-20 '------------------------ #define GLCD_DI portc.4 ' Data in | MISO Not required #define GLCD_DO portc.5 ' Data out | MOSI #define GLCD_SCK portc.3 ' Clock Line #define GLCD_DC portc.6 ' Data command line #define GLCD_CS portc.2 ' Chip select line #define GLCD_RESET portc.7 ' Reset line #define...
Hi All Using the ST7735 TFT. GCB v98.03. GLCDBackground = ST7735_BLACK 'works box (0,0,159,127, ST7735_WHITE) 'works GLCDPrint (10,100,"Hello") ' How do i set the color of text, default appears to be black also GLCDfntDefaultSize = 1 'the size of text does not change only the space between each character Thanks
Now using 18F25K80
Updated as requested. Unfortunatly now there are no characters displayed. changed to glcd_portB.
;Chip Settings #chip 16F882,8 #option explicit #config OSC=INTOSCIO #include <glcd.h> #define GLCD_TYPE GLCD_TYPE_NT7108C ' Specify the GLCD type #define GLCDDirection 0 ' Flip the GLCD 0 do not flip, 1 flip #define GLCD_CS1 PORTa.4 'D12 to actually since CS1, CS2 can be reversed on some devices #define GLCD_CS2 PORTa.5 #define GLCD_DB0 PORTb.7 'D0 to pin 7 on LCD #define GLCD_DB1 PORTb.6 'D1 to pin 8 on LCD #define GLCD_DB2 PORTb.5 'D2 to pin 9 on LCD #define GLCD_DB3 PORTb.4 'D3 to pin 10 on LCD...
Now working. Although, I am getting some random pixels around a drawn line. Have observed pin 16 (DB0) sits high data received go's low, all other DB1-7 are the opposite. Word text prints clearly.
Thanks.
email sent
Hi Tested using an LED, led flashes, still no characters. I can post a spare display to you for testing if you would like.