Search found 37 matches

by skartalov
Sun Mar 10, 2013 10:54 am
Forum: User Modules
Topic: SSD1306 OLED controller support
Replies: 11
Views: 11990

Jerry Messina wrote:I'd be interested in what/how it was being used.
This rotary switch (Brand ZIPPY) is very useful indeed.
It has 5 buttons - left, right, up, down and center with common pinout
+ rotary switch with approx.20 pos/rev .
I wonder where I can find library part for EAGLE PCB?
by skartalov
Fri Mar 08, 2013 1:48 pm
Forum: Compiler
Topic: 128k program memory ERROR
Replies: 10
Views: 4695

Now this solution worked!
Thanks a lot!
by skartalov
Fri Mar 08, 2013 10:46 am
Forum: Compiler
Topic: 128k program memory ERROR
Replies: 10
Views: 4695

Now I use 2.2.1.6 version. Large program compiles ok. It is now 98kb, BUT still problems: There are external data base named: "rife.bas" -> these are names of the deseases (STRING constant) "rife_freq.bas" -> the corresponding frequency (LONGWORD constant) "oledfont" -> Character set for displayng o...
by skartalov
Thu Mar 07, 2013 8:43 am
Forum: User Modules
Topic: SSD1289 GLCD Support
Replies: 1
Views: 2425

SSD1289 GLCD Support

Come on guys, there are so cheap TFT's on the market, for example this one, available for $14 with touch screen and SD card socket! http://www.ebay.co.uk/itm/3-2-TFT-LCD-Module-Display-Touch-Panel-PCB-Adapter-SD-Card-Socket-240X320-/350631277050?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item5...
by skartalov
Thu Mar 07, 2013 7:21 am
Forum: User Modules
Topic: SSD1306 OLED controller support
Replies: 11
Views: 11990

SSD1306 OLED controller support

Hi, after few days trying, polishing, testing.... the code found in article in digital-diy.com forum, I suceed to run this little beautiful OLED graphic display 128x64 pixels, with SSD1306 controller, available in ebay for 5-6 USD. I am sharing the working code with you, hoping that someone will put...
by skartalov
Wed Mar 06, 2013 3:45 pm
Forum: Compiler
Topic: 128k program memory ERROR
Replies: 10
Views: 4695

128k program memory ERROR

Hi,

when I try to compiler program, larger than 64K, the compiler hangs up, saying nothing, just stop compilling, no HEX file generated.

I use 18F47J13, which has 128k of prog mem.
Please check? Why it could be?
by skartalov
Wed Feb 27, 2013 10:10 am
Forum: Compiler
Topic: SPI - 16bit out, how?
Replies: 3
Views: 2431

OK, now it gets a little tricky! As you can see the datasheet of AD5930: http://www.analog.com/static/imported-files/data_sheets/AD5930.pdf On page 17 is says that the frequency is send twice as 12 bit variables. Now I have variable "F" which is LONGWORD with the desired frequency. It is between 0 a...
by skartalov
Wed Feb 27, 2013 8:10 am
Forum: Compiler
Topic: SPI - 16bit out, how?
Replies: 3
Views: 2431

SPI - 16bit out, how?

Hi,
how I can access all 16bits is WORD variable, so i can send then serially over SPI line?

I am trying to address a AD5930 signal generator IC, which only accept 16 bits word on SPI. I will write the serial routine by myself, just need to clarify how to access the bits inside the WORD.

Thanks!
by skartalov
Mon Feb 25, 2013 3:56 pm
Forum: Compiler
Topic: ASCII extract - how?
Replies: 2
Views: 2112

Thanks a lot! That worked... so easy :-)
by skartalov
Mon Feb 25, 2013 12:34 pm
Forum: Compiler
Topic: ASCII extract - how?
Replies: 2
Views: 2112

ASCII extract - how?

Someone please help!

I have string variable named "TEXT" and byte variable named "I".

what code shound I write to get the ASCII of the first letter of the "TEXT" string to "I"?

Thanks!
by skartalov
Fri Feb 22, 2013 2:26 pm
Forum: Compiler
Topic: K series problem after problem
Replies: 0
Views: 5185

K series problem after problem

Recently I started to use K- series PICs, especially PIC18F25k20 The compiller generates error, only when I include the "eeprom.bas", before even I start to use some commands, it opens system.bas and says: // define macros that use the appropriate config statement for the current device // these can...
by skartalov
Thu Feb 21, 2013 9:53 am
Forum: Compiler
Topic: 18F25K20
Replies: 8
Views: 7172

Hi, what exactly I have to declare that way, so the PIC18F25K20 to use internal OSC with PLL for CLOCK=64 MHz?
by skartalov
Sat Feb 09, 2013 3:17 pm
Forum: Compiler
Topic: MPLAB X
Replies: 5
Views: 3064

MPLAB + PICKIT 3

Hi,

can anyone help me!

I am using SF with MPLAB 8 and PICKIT 3 prog.

How to create a new programmer entry that way, so when I hit BUILD, the HEX file to automatically load to MPLAB and force the programming process to begin?
Or if it is not possible- just to load the file in MPLAB?

THX
by skartalov
Wed Jan 25, 2012 9:03 pm
Forum: Compiler
Topic: Communicating with 24LCxx memory
Replies: 1
Views: 1875

Communicating with 24LCxx memory

I am trying to communicate with 24LC515 I2C memory. Looked in manual for some easy command, but not found. I see only example, but too many lines just to read and write. Come on! It can't be so complicated! It was just so easy before when I used PicBasic Pro: i2cread & i2cwrite commands.... Wish to ...
by skartalov
Tue Sep 27, 2011 1:24 pm
Forum: Compiler
Topic: Dallas 18B20 example
Replies: 17
Views: 12014

What about DS1822?

Hi guys,
DS1822 doesn't work with this code.
What should I change to make it work?

PLS, Help!