Is there a lib for SSD1306 I2c OLED displays ?
Thankyou
Search found 50 matches
- 09 Mar 2021 19:47
- Forum: mikroBasic PRO for PIC General
- Topic: SSD1306 OLED displays
- Replies: 1
- Views: 681
- 31 May 2020 10:15
- Forum: mikroBasic PRO for PIC General
- Topic: Mmc_Fat_Assign
- Replies: 2
- Views: 927
Mmc_Fat_Assign
What would cause this command to hang ?
Using Mmc_Fat_Assign(filename, 0) to get known files from the card
Working OK most of the time, then suddenly won't get past the command.
Any ideas ?
Thanks
Using Mmc_Fat_Assign(filename, 0) to get known files from the card
Working OK most of the time, then suddenly won't get past the command.
Any ideas ?
Thanks
- 05 Jan 2020 09:37
- Forum: mikroBasic PRO for PIC General
- Topic: Old MMC (FAT16) library
- Replies: 1
- Views: 825
Old MMC (FAT16) library
What's the maximum filename length that can be used with this library ?
Thanks
Thanks
- 03 Dec 2019 16:45
- Forum: mikroC PRO for ARM General
- Topic: FAT32_Dir() How to save results to a file or display on TFT
- Replies: 13
- Views: 4562
Re: FAT32_Dir() How to save results to a file or display on
filename = "TESTFILE.txt"
FAT32_Open(@filename, FILE_WRITE_F32)
FAT32_Dir()
FAT32_Put_Char(SD_data)
FAT32_Write(0, @SD_data, 1)
FAT32_Close(0)
The above does not work.
How do you test that the Dir command has finished ?
FAT32_Open(@filename, FILE_WRITE_F32)
FAT32_Dir()
FAT32_Put_Char(SD_data)
FAT32_Write(0, @SD_data, 1)
FAT32_Close(0)
The above does not work.
How do you test that the Dir command has finished ?
- 24 Nov 2019 18:57
- Forum: mikroC PRO for ARM General
- Topic: FAT32_Dir() How to save results to a file or display on TFT
- Replies: 13
- Views: 4562
Re: FAT32_Dir() How to save results to a file or display on
How do I read the directory and store it (as a text file) on the card ?
Thanks
Thanks
- 13 Oct 2019 11:51
- Forum: Libstock Discussion
- Topic: Libstock exclusive: FAT32 and Network Ethernet Libraries
- Replies: 63
- Views: 720683
Re: Libstock exclusive: FAT32 and Network Ethernet Libraries
The FAT32_Read command in this code example is locking up. Any ideas why ? filename = "TestFile.txt" FAT32_Open(@filename, FILE_READ_F32) FAT32_Size(@filename, @filesize) while filesize > 0 SRAM_addr_lo = lo(SD_addr) SRAM_addr_hi = hi(SD_addr) FAT32_Read(0, @SD_data, 1) 'PROBLEM HERE !!! SRAM_data =...
- 10 Oct 2019 08:51
- Forum: Libstock Discussion
- Topic: Libstock exclusive: FAT32 and Network Ethernet Libraries
- Replies: 63
- Views: 720683
Re: Libstock exclusive: FAT32 and Network Ethernet Libraries
PIC18F4525 on my own board.Which MCU and development board are you using?
The circuit works, and when it initialises, the software works too.
What can influence the SPI module and cause problems ?
- 08 Oct 2019 11:53
- Forum: Libstock Discussion
- Topic: Libstock exclusive: FAT32 and Network Ethernet Libraries
- Replies: 63
- Views: 720683
Re: Libstock exclusive: FAT32 and Network Ethernet Libraries
I'm having trouble with initialising - SPI1_Init_Advanced(_SPI_MASTER_OSC_DIV64, _SPI_DATA_SAMPLE_MIDDLE, _SPI_CLK_IDLE_LOW, _SPI_LOW_2_HIGH) while FAT32_Init() <> 0 wend SPI1_Init_Advanced(_SPI_MASTER_OSC_DIV4, _SPI_DATA_SAMPLE_MIDDLE, _SPI_CLK_IDLE_LOW, _SPI_LOW_2_HIGH) It either never initialises...
- 30 Sep 2019 15:51
- Forum: Libstock Discussion
- Topic: Libstock exclusive: FAT32 and Network Ethernet Libraries
- Replies: 63
- Views: 720683
Re: Libstock exclusive: FAT32 and Network Ethernet Libraries
Thankyou. (it didn't say _F32 in the help file)
BTW is it possible to get the number of files in a directory ?
Also, is it possible to read all the filenames in a directory (and place into an array) ?
BTW is it possible to get the number of files in a directory ?
Also, is it possible to read all the filenames in a directory (and place into an array) ?
- 29 Sep 2019 16:05
- Forum: Libstock Discussion
- Topic: Libstock exclusive: FAT32 and Network Ethernet Libraries
- Replies: 63
- Views: 720683
Re: Libstock exclusive: FAT32 and Network Ethernet Libraries
I'm using the FAT32 lib with mikroe Basic pro for PIC. The following throws up the error - filename = 'TestFile.txt' FAT32_Open(@filename, FILE_READ) 248 303 Identifier "FILE_READ" was not declared Test.mbas 248 301 ")"is not valid identifier Test.mbas 249 304 Syntax error: Expected "end" but "FAT32...
- 22 Sep 2019 08:03
- Forum: mikroBasic PRO for PIC General
- Topic: PIC 18F4520 with MMC card library
- Replies: 10
- Views: 2675
Re: PIC 18F4520 with MMC card library
I've downloaded the FAT32 .mpkg file, but in ver 7.1.0 (because I'm using WinXP) I can't find a way to install it. I must be missing something.
- 18 Sep 2019 17:10
- Forum: mikroBasic PRO for PIC General
- Topic: PIC 18F4520 with MMC card library
- Replies: 10
- Views: 2675
Re: PIC 18F4520 with MMC card library
I will check that.Are you sure that you have set OSCCON and OSCTUNE registers properly while going through internal oscillator block?
BTW how do you install new libraries (such as FAT32) into mikroBasic Pro ver 7.1.0 ?
Does it have to be manually placed into a folder somewhere ?
Thanks
- 15 Sep 2019 11:25
- Forum: mikroBasic PRO for PIC General
- Topic: PIC 18F4520 with MMC card library
- Replies: 10
- Views: 2675
Re: PIC 18F4520 with MMC card library
Swapped over to an external oscillator, and it's now appears to work OK.
AAMOI does the FAT32 library work with a PIC18F4520 ?
Also, I cannot find the help for the library.
AAMOI does the FAT32 library work with a PIC18F4520 ?
Also, I cannot find the help for the library.
- 03 Sep 2019 19:06
- Forum: mikroBasic PRO for PIC General
- Topic: PIC 18F4520 with MMC card library
- Replies: 10
- Views: 2675
Re: PIC 18F4520 with MMC card library
Just came back to this (code based on the MMC example) I'm getting no read from the card, or partial reads before it corrupts. I've also had the file not being assigned and the file I'm trying to read get corrupted on the SD card. I'm using a ready-built SD card module (with built-in level shifters)...
- 05 Jul 2019 19:32
- Forum: mikroBasic PRO for PIC General
- Topic: PIC 18F4520 with MMC card library
- Replies: 10
- Views: 2675
PIC 18F4520 with MMC card library
Is it OK to use the internal oscillator (32MHz) when using the MMC card functions ?
I'm having some read problems, and was wondering if that could be the cause.
Thankyou
I'm having some read problems, and was wondering if that could be the cause.
Thankyou