Search found 9 matches
- Thu Jun 18, 2020 1:03 pm
- Forum: Compiler
- Topic: Clock Speed
- Replies: 8
- Views: 5209
Re: Clock Speed
Looks like it is related to the DOGM display. Here is part of the code: Device = 18F25k50 //18F25K50 Clock = 0.25 // 64,16,8,4, 1. 0.031, 0.25, 0.5 Include "intOSC.bas" // MUST HAVE THIS HERE Include "Convert.bas" '--------------------------------LCD---------------------------------------------- // ...
- Wed Jun 17, 2020 8:07 pm
- Forum: Compiler
- Topic: Clock Speed
- Replies: 8
- Views: 5209
Clock Speed
I can successfully run my chip 18F25k50 anywhere from 1 to 64 mHz with setting:(clock = 1 to clock = 64), however I want to run slower to save battery life. It looks like the Include "intOSC.bas" has options for 0.031, 0.25 and 0.5 , but when I choose these speeds (clock = 0.25) I get 14 assembly er...
- Tue Jun 02, 2020 3:40 pm
- Forum: General
- Topic: configurable bootloader
- Replies: 2
- Views: 6379
Bluetooth - Re: configurable bootloader
Hello All,
I am also wondering if anyone has interfaced a Bluetooth module (any one) to an 18F chip and has some example code.
I am looking to send a simple open/close command to a relay for positioning a valve.
Thanks
I am also wondering if anyone has interfaced a Bluetooth module (any one) to an 18F chip and has some example code.
I am looking to send a simple open/close command to a relay for positioning a valve.
Thanks
- Wed May 27, 2020 2:27 pm
- Forum: User Modules
- Topic: ST7565 GLCD Support
- Replies: 23
- Views: 20564
Re: ST7565 GLCD Support
Thank you David, Because I am running at 3.3 volts I changed Module LCDDogM initialize section to: #if LCD_DOGM = DOGM_163 LCD.WriteCommand($29) ' 4 bit interface LCD.WriteCommand($1C) ' bias set LCD.WriteCommand($55) ''Power control + Contrast (HiByte)(for 5V=$52/3,3V=55) LCD.WriteCommand($6D) ' Fo...
- Tue May 26, 2020 4:15 pm
- Forum: User Modules
- Topic: ST7565 GLCD Support
- Replies: 23
- Views: 20564
Re: ST7565 GLCD Support
Hi David,
Can you post a simple example using the DOGM163 showing your configuration and a simple "Hello Word" , " Line 2" , "Line 3"?
I am converting from PICBasic code, and getting hung up on include files and the configuration.
Can you post a simple example using the DOGM163 showing your configuration and a simple "Hello Word" , " Line 2" , "Line 3"?
I am converting from PICBasic code, and getting hung up on include files and the configuration.
- Fri May 22, 2020 3:28 pm
- Forum: User Modules
- Topic: ST7565 GLCD Support
- Replies: 23
- Views: 20564
Re: ST7565 GLCD Support
Thanks for everyone's help. I have had to move my project along so I am using DOGM163 with the ST7036 format.
I will check back regularly to see if anyone had as Parallel SPI written for DOG128W.
I will check back regularly to see if anyone had as Parallel SPI written for DOG128W.
- Tue May 19, 2020 2:39 pm
- Forum: User Modules
- Topic: ST7565 GLCD Support
- Replies: 23
- Views: 20564
Re: ST7565 GLCD Support
Hi Jerry, You said "The real problem is that the DOGM128 uses serial SPI to communicate and the ST7565R.bas driver in the above posts from skartalov uses a parallel interface, so that code won't work w/that display." Is there any Swordfish code out there for the DOGM128? or other 3v GLCD screens you...
- Tue May 19, 2020 2:23 pm
- Forum: User Modules
- Topic: ST7565 GLCD Support
- Replies: 23
- Views: 20564
Re: ST7565 GLCD Support
Hi David thank you for your reply. I have cleaned up my code. GLCDra was my version of GLCD with the ST7565R stuff added in as suggested from above. I have modified GLCD.bas and added it to my user library. I added your LED code and found I had to have "dim LED as PORTD.0" at the top of the code. On...
- Mon May 18, 2020 6:06 pm
- Forum: User Modules
- Topic: ST7565 GLCD Support
- Replies: 23
- Views: 20564
Re: ST7565 GLCD Support
Hello All, I know this is an old post, but I am trying to connect a EA DOGM128W-6 GLCD (ST7665R) to a PIC 18F4550. After 2 weeks of no success and frustration, I am reaching out for help. Has anyone successfully connected one of these GLCDs to a PIC using Swordfish Basic? Also can anyone explain if ...