Activity for Mikam

  • Mikam Mikam posted a comment on discussion Help

    Yes.

  • Mikam Mikam posted a comment on discussion Help

    Hi . Installed latest version 1.01.145. Norton removes the attached file, detects as a virus.

  • Mikam Mikam posted a comment on discussion Help

    email sent.

  • Mikam Mikam posted a comment on discussion Help

    Hi I could post the module to you for testing. Would be a lot quicker.

  • Mikam Mikam posted a comment on discussion Help

    Hi All Just wondering if anyone has interfaced with one of these. Just bought one of ebay 143307220364. Thanks

  • Mikam Mikam posted a comment on discussion Help

    Excellent. I no longer get the error.

  • Mikam Mikam posted a comment on discussion Help

    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.

  • Mikam Mikam posted a comment on discussion Help

    Can i be cheeky and say. Have you tried the download and installed on another machine (Fresh install).

  • Mikam Mikam posted a comment on discussion Help

    I could upload but where? I could zip/burn to disc then post.

  • Mikam Mikam posted a comment on discussion Help

    Yep silly. Anyway. Still getting the error but only when i add the 'i' What do you need?

  • Mikam Mikam posted a comment on discussion Help

    Fresh install. using GCstudio latest build. First run of loop test i get the following message. See attached.

  • Mikam Mikam posted a comment on discussion Help

    Strange, on two different install machines i have the same problem.

  • Mikam Mikam posted a comment on discussion Help

    Will try a fresh install.

  • Mikam Mikam posted a comment on discussion Help

    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)'

  • Mikam Mikam posted a comment on discussion Help

    line (10,20,400,20,LONG) ... runs with no errors

  • Mikam Mikam posted a comment on discussion Help

    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 '

  • Mikam Mikam posted a comment on discussion Help

    Attached.

  • Mikam Mikam posted a comment on discussion Help

    I will try on another PC(win10) over weekend. Currently using Win7. Could be an install issue?

  • Mikam Mikam posted a comment on discussion Help

    Using Synwrite where's the pref's editor?

  • Mikam Mikam posted a comment on discussion Help

    Sorry. Not sure what you mean.

  • Mikam Mikam posted a comment on discussion Help

    Attached.

  • Mikam Mikam posted a comment on discussion Help

    Loop test problem attached.

  • Mikam Mikam posted a comment on discussion Help

    As above.

  • Mikam Mikam posted a comment on discussion Help

    GLCDPrint() inserted at line 1015. Re-flashed all ok.

  • Mikam Mikam posted a comment on discussion Help

    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.

  • Mikam Mikam posted a comment on discussion Help

    Excellent. All good. Thank you for your speedy help.

  • Mikam Mikam posted a comment on discussion Help

    amended h file. Make sure done correctly.

  • Mikam Mikam posted a comment on discussion Help

    Almost There. Yellow is Orange.

  • Mikam Mikam posted a comment on discussion Help

    Green is displaying as yellow.

  • Mikam Mikam posted a comment on discussion Help

    Attached.

  • Mikam Mikam posted a comment on discussion Help

    Attached.

  • Mikam Mikam posted a comment on discussion Help

    Box colors look OK. Text colors not displayed correctly. Their is text above the white and red box's.

  • Mikam Mikam posted a comment on discussion Help

    0x3A no change.

  • Mikam Mikam posted a comment on discussion Help

    Attached

  • Mikam Mikam posted a comment on discussion Help

    Adding above lines causes errors. see attached.

  • Mikam Mikam posted a comment on discussion Help

    Tested the discovery program found the ILI9341 with no problems Please see attached for unknown display.

  • Mikam Mikam posted a comment on discussion Help

    I am using TFT_Color

  • Mikam Mikam posted a comment on discussion Help

    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.

  • Mikam Mikam posted a comment on discussion Help

    Spoke to soon. Still not right. Colors are not correct.

  • Mikam Mikam posted a comment on discussion Help

    Finally. Thought the 9488 driver was only for 320*240

  • Mikam Mikam posted a comment on discussion Help

    I gather i can only run GLCD discovery with the 328, which i don't have.

  • Mikam Mikam posted a comment on discussion Help

    This is what the ILI9341 driver does. I doubt if its the 9486.

  • Mikam Mikam posted a comment on discussion Help

    ebay listing: 275576588073 4.0". The display supply and data lines are 3.3V. will try your other recomendations.

  • Mikam Mikam posted a comment on discussion Help

    Sharing? saying... yes

  • Mikam Mikam posted a comment on discussion Help

    9341.

  • Mikam Mikam posted a comment on discussion Help

    screen shot

  • Mikam Mikam posted a comment on discussion Help

    here's the GCB.

  • Mikam Mikam posted a comment on discussion Help

    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.

  • Mikam Mikam posted a comment on discussion Help

    Sorry. Should have said include 'h' file. C:\GCstudio\Greatcowbasic\include

  • Mikam Mikam posted a comment on discussion Help

    currently using build 1247. When GC auto updates at start are the ini files updated as well?

  • Mikam Mikam posted a comment on discussion Help

    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

  • Mikam Mikam posted a comment on discussion Help

    Just have one to use. I shall do as you have advised.

  • Mikam Mikam posted a comment on discussion Help

    Hi Would you be able to add the driver for NT7107.? (Farnell 267-5697). Thanks

  • Mikam Mikam posted a comment on discussion Help

    sent an email address.

  • Mikam Mikam posted a comment on discussion Help

    no.

  • Mikam Mikam posted a comment on discussion Help

    Yes I have updated via the link. Yes I am referring to the inbuilt font size.​

  • Mikam Mikam posted a comment on discussion Help

    5 * 7 to 10 * 14.

  • Mikam Mikam posted a comment on discussion Help

    Is their a GCB command to change the font from 57 to 1014 font?

  • Mikam Mikam posted a comment on discussion Help

    Yes. Have you seen the same problem?

  • Mikam Mikam posted a comment on discussion Help

    From lcd.h. I thought it might help. Sorry.

  • Mikam Mikam posted a comment on discussion Help

    Sorry wrong attachment.

  • Mikam Mikam posted a comment on discussion Help

    This works. Power cyclescreen displays garbage then resets after a couple of seconds.

  • Mikam Mikam posted a comment on discussion Help

    GWinstek GPS-4303. Just tried another supply which can deliver 4A, still the same reset problem.

  • Mikam Mikam posted a comment on discussion Help

    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.

  • Mikam Mikam posted a comment on discussion Help

    Hi Thanks for the info. Looks like ill have to revert to LCD. Just prefer VFD's as they look more profesional. Rgds

  • Mikam Mikam posted a comment on discussion Help

    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

  • Mikam Mikam posted a comment on discussion Help

    Hi Mike Thanks for your help. Have a good break/holiday. Rgds Mike

  • Mikam Mikam posted a comment on discussion Help

    Hi Mike connected up a 18F25K80 on a different test board. I am getting the same problem as the 45k80. Rgds

  • Mikam Mikam posted a comment on discussion Help

    Hi Mike Im using a MAX232 chip. Tried your prog. USART2 fully works, USART1 only sends if i REM out 'HSerGetNum Mynum,1' Mike

  • Mikam Mikam posted a comment on discussion Help

    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

  • Mikam Mikam posted a comment on discussion Help

    Hi Mike Added Comport=1 . Now not receiving on either USART. Mike

  • Mikam Mikam posted a comment on discussion Help

    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...

  • Mikam Mikam posted a comment on discussion Great Cow Graphical BASIC Problems

    email sent.

  • Mikam Mikam posted a comment on discussion Great Cow Graphical BASIC Problems

    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...

  • Mikam Mikam posted a comment on discussion Open Discussion

    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.

  • Mikam Mikam posted a comment on discussion Open Discussion

    Even by changing to a lower frequency i am not getting the resolution. Looks as though resolution is set at 10bit.

  • Mikam Mikam posted a comment on discussion Open Discussion

    I was hoping to use full resolution of '1' increment/decrement.

  • Mikam Mikam posted a comment on discussion Open Discussion

    #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 ​

  • Mikam Mikam posted a comment on discussion Open Discussion

    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.

  • Mikam Mikam posted a comment on discussion Open Discussion

    Sorry. Appologies, found a dry joint on board.

  • Mikam Mikam posted a comment on discussion Open Discussion

    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 ​```

  • Mikam Mikam posted a comment on discussion Help

    Thanks for clearing up.

  • Mikam Mikam posted a comment on discussion Help

    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 `

  • Mikam Mikam posted a comment on discussion Help

    All Good. Thanks

  • Mikam Mikam posted a comment on discussion Help

    Still not working.

  • Mikam Mikam posted a comment on discussion Help

    Works. Thanks.

  • Mikam Mikam posted a comment on discussion Help

    changed val1 and val2 too long, still get the same answer.

  • Mikam Mikam posted a comment on discussion Help

    #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...

  • Mikam Mikam posted a comment on discussion Help

    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

  • Mikam Mikam posted a comment on discussion Help

    Yes! box and circle work but 'GLCDDrawString' always prints black can't change the color.

  • Mikam Mikam posted a comment on discussion Help

    #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...

  • Mikam Mikam posted a comment on discussion Help

    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

  • Mikam Mikam posted a comment on discussion Help

    Now using 18F25K80

  • Mikam Mikam posted a comment on discussion Help

    Updated as requested. Unfortunatly now there are no characters displayed. changed to glcd_portB.

  • Mikam Mikam posted a comment on discussion Help

  • Mikam Mikam posted a comment on discussion Help

    ;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...

  • Mikam Mikam posted a comment on discussion Help

    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.

  • Mikam Mikam posted a comment on discussion Help

    Thanks.

  • Mikam Mikam posted a comment on discussion Help

    email sent

  • Mikam Mikam posted a comment on discussion Help

    Hi Tested using an LED, led flashes, still no characters. I can post a spare display to you for testing if you would like.

1 >