Search found 24 matches

by Assweasel
01 Jul 2008 08:13
Forum: mikroBasic General
Topic: Error Trapping help?
Replies: 0
Views: 905

Error Trapping help?

I would like to write a program that can basically read any size I2C EEPROM without knowing in advanc e the size of the EEPROM. I would start by trying to read the Highest memory address and on an error decrement the size of the eeprom and try and read again. When I get a valid read that would be th...
by Assweasel
13 May 2008 07:48
Forum: mikroBasic General
Topic: External eeprom & RTC
Replies: 3
Views: 1727

You cant do it that way. Take the A1 pin of the 24LC16 and give it 5V Now the address for the 24LC16 is A1 and PCF8583 has the address A0 When writing your I2C for the 24LC16 I2C_Start ' Issue I2C start signal I2C_Wr($A1) ' Send byte via I2C When writing your code for PCF8583 I2C_Start ' Issue I2C s...
by Assweasel
13 May 2008 01:36
Forum: mikroBasic General
Topic: Real TimeI2C Debugger ????
Replies: 0
Views: 951

Real TimeI2C Debugger ????

I 've been tinkering with the idea of making an I@C debugger that can be used on anything that uses this protocol. I am only thinking at present and have run into a sticking point in my thought process. How am I going to match clock signals on the tagert with my board? This is just something I don't...
by Assweasel
11 May 2008 18:58
Forum: mikroBasic General
Topic: String adding and comperation?
Replies: 5
Views: 3067

try this tempdec1, tempdec2, tempdec3 as string fulltemp, oldtemp as string[3] strAppendPre(tempdec3,fulltemp) strAppendPre(tempdec2,fulltemp) strAppendPre(tempdec1,fulltemp) strAppendPre(tempdec3,oldtemp) strAppendPre(tempdec2,oldtemp) strAppendPre(tempdec1,oldtemp) if fulltemp <> oldtemp then goto...
by Assweasel
10 May 2008 23:05
Forum: mikroBasic General
Topic: Nokia 1110 or 1200 lcd ?
Replies: 1
Views: 3511

The Nokia 3310 uses the PCD8544 controller http://www.semiconductors.philips.com/acrobat/datasheets/PCD8544_1.pdf these are the Nokia models that support this controller. Nokia 3210 Nokia 3310 Nokia 3330 Nokia 5510 Nokia 5110 Nokia 6110 Nokia 6150 Nokia 8210 Nokia 8850 it is not compatable with 1110...
by Assweasel
10 May 2008 21:59
Forum: mikroBasic General
Topic: Send EEPROM data out USART
Replies: 3
Views: 2060

Lmao so true.
I am new to this as well and can help only because I basically went through the same problems myself not to long ago.

I just find them big chips daunting as i am learning electronics as i go as well.

My hats off to you for tackling something that size so soon.

they scar me :)
by Assweasel
10 May 2008 21:12
Forum: mikroBasic General
Topic: I2C problem
Replies: 6
Views: 3100

I too am a member over at http://forums.futura-sciences.com/ Canadian here so french or english is just as good. English on this forum however. while i2cread j=0 EE_adr = 0 I2C_Start I2C_Wr($A1) for j = 0 to i EE_adr = EE_adr +1 I2C_Wr (hi(EE_Adr)) I2C_Wr (lo(EE_Adr)) readi2c[j]= I2C_Rd(0) delay_ms(...
by Assweasel
10 May 2008 18:45
Forum: mikroBasic General
Topic: mikroe + application error
Replies: 5
Views: 2013

http://www.mikroe.com/forum/viewtopic.php?p=25674&sid=75b6b31e6e1e8ba7be06564af190c63b if you are unable to even get the project opened try moving all files except the .pbas and .pbp files to another directory or delete them if you don't mind losing them. Now try and open the project. if it doesn't ...
by Assweasel
10 May 2008 17:49
Forum: mikroBasic General
Topic: I2C problem
Replies: 6
Views: 3100

For j=0 to i I2C_start I2C_wr($A0) I2C_Wr(EE_adr) You are writing to the same EEprom address as this in never incremented I2C_Wr(EE_adr) And the 24lc16b is 2k long which makes it have $07ff bytes this is not byte addressable You need 2 bytes the High byte and the low byte of the address. So use a w...
by Assweasel
09 May 2008 07:56
Forum: mikroBasic General
Topic: Send EEPROM data out USART
Replies: 3
Views: 2060

Call me nosy but how can you be using such a big chip (64 pin) without already knowing this? But i see that you only want to read it which makes me go hmmmmm...... and ??????? even more. This should do but things that would make it not work are. 1) The type of eeprom this is for an I2C EEprom 2) The...
by Assweasel
07 May 2008 17:46
Forum: mikroBasic General
Topic: I2C hangs after Adress+Write command issued
Replies: 27
Views: 8407

Problem is solved!!!! Had nothing to do with Mb but rather my own hardware. A leaky IDE cable on IDE2 which is where I store my projects etc. I pulled my computer apart and ended up with that drive on IDE1 and my cd/dvd went to 2. All of a sudden my CD/DVD was acting up replaced the cables and all i...
by Assweasel
07 May 2008 17:41
Forum: mikroBasic General
Topic: Really oddball problem
Replies: 2
Views: 1735

Problem is solved!!!! Had nothing to do with Mb but rather my own hardware. A leaky IDE cable on IDE2 which is where I store my projects etc. I pulled my computer apart and ended up with that drive on IDE1 and my cd/dvd went to 2. All of a sudden my CD/DVD was acting up replaced the cables and all i...
by Assweasel
07 May 2008 00:05
Forum: mikroBasic General
Topic: I2C hangs after Adress+Write command issued
Replies: 27
Views: 8407

I have the registry file from my reseller. Am just checking to see if it is legit. I did not find them on the list of resellers so i wanted to check. Thats funny you mention demo limit. I tried out like MB4 or something a long time ago and when I decided to try out MB7 I got the demo limit eror a re...
by Assweasel
06 May 2008 21:13
Forum: mikroBasic General
Topic: I2C hangs after Adress+Write command issued
Replies: 27
Views: 8407

I sent ot office@mikroe.com to verify validity been nearly 2 days no answer yet. I am waiting to here back from them and then go from there. probably not the best topic to discuss here but after this suggestion I searched for a cracked version and couldn't find one. Somedays i just feel so lame. I w...
by Assweasel
06 May 2008 18:14
Forum: mikroBasic General
Topic: remote firmware updates question
Replies: 2
Views: 1901

This should take care of ya....

http://www.piccoder.co.uk/content/view/51/26

http://www.diolan.com/pic/bootloader.html

<<<<<<<<<<<Google is your freind>>>>>>>>>>>

Go to advanced search