BASCOM-AVR : DS1307 RTC : REPLY
Rick, I do have an event scheduler that is tick based at a one second interval. I will integrate the DS1307 into that. My SNTP routine accounts for DST. My testing showed in was functional, YMMV. :)...
View ArticleBASCOM-AVR : DS1307 RTC : REPLY
See attached, my lib for the pca8565, would need tuning for ds1307, but these rtc have similarities. I never used the alarm code, so it is untested. Hopefully this helps....
View ArticleEASY TCP/IP : Problem with TCPREAD function : REPLY
Thanks Mark. I'll give this a try and see how it goes. Bob
View ArticleBASCOM-8051 : Disable INT0 is not compiled. Compiler version: 2.0.14.0 De :...
disable INT0 will disable the interrupt enable bit in the IE register. but ... if a flag was still pending, the interrupt will still be called once. so clear the flag in TCON.1 to prevent that the isr...
View ArticleShare your working BASCOM-AVR code here : NOKIA-N73 LCD Library : NEWTOPIC
Library for NOKIA LCD models: [i:18ed873022]3720c, 5320, 5330, 5610, 5630, 5700, 5730, 6110n, 6120с, 6208, 6220с, 6300, 6303, 6303i, 6350, 6500, 6500s, 6555, 6600, 6600s, 6720, 6730, 6760, 7500,...
View ArticleShare your working BASCOM-AVR code here : NOKIA-N73 LCD Library : REPLY
Hello Mrshilov, Thank you for publishing this great piece of work. I see that everything one need is included in the files. The demo is great. I liked the funny pictures, especially the one with the...
View ArticleBASCOM-AVR : DS1307 RTC : REPLY
the i2cinit is not really required. this because the pins are in the right state after reset. the config twi is only required when using the TWI lib instead of the default soft i2c lib. it was indeed...
View ArticleBASCOM-AVR Old versions : Chip Hangs : REPLY
99% is no problem. but check if the assigned string is big enough. also : why using a single when you just use integer math? you can scale a value too using a long. for example 1000.00 is the same as...
View ArticleBASCOM-8051 : Automatic covertion to ASCII problem : REPLY
i have no idea what you mean :D where do you get the letter from ? Do you read this from the serial port or keyboard or what? Anyway say you have a string with value "100" ., you can use VAL() to...
View ArticleShare your working BASCOM-AVR code here : NOKIA-N73 LCD Library : REPLY
Hi Nice work, thanx for sharing. Did you use a levelconverter, series resistors or is the lcd input 3/5volt tolerant. Øyvind
View ArticleBASCOM-AVR : DS1307 RTC : REPLY
Rick, Thanks for sharing the code and example call. Currently going to stick with the DS1307, cheap and the SNTP update every 12hrs, makes it very accurate for my application. Upon further thought. I...
View ArticleEASY TCP/IP : Problem with TCPREAD function : REPLY
Hi Mark, So I'm working on implementing your suggestion but it is more complicated and I'm trying to figure out why I need to do it this way. When I implement the Socketstat command, the result is the...
View ArticleBASCOM-AVR : New IDE...:( : NEWTOPIC
Is there news about new IDE....? This is loooong time promise. It is quite hard menage large programs with this IDE. Regards ! [b:f0e5c4c8c7][color=red:f0e5c4c8c7](BASCOM-AVR version : 2.0.7.6...
View ArticleEASY TCP/IP : Problem with TCPREAD function : REPLY
Bob i just show an alternative. using the tcpread will work too. but you must make the string long enough to hold the line. if you make it too small, you will get fragments in order not to overwrite...
View ArticleEASY TCP/IP : Problem with TCPREAD function : REPLY
Mark, This latest information helped me solve the problem. I was basing my program on the web server example from the samples and that sample used the same string variable several places. One of the...
View ArticleBASCOM-AVR : DS1307 RTC : REPLY
Mark A. - Thank you for the excellent response. I am going to leave the i2cinit, after rest ok but maybe it is cleanup in another place if reused, makes me think of it. Here is my final code(I hope)...
View ArticleShare your working BASCOM-AVR code here : NOKIA-N73 LCD Library : REPLY
As we see in datasheet, maximum Logic level is 1.95V, for LCD drive is 2.95V. No official tolerance to 3/5V. For my experiment I use resistor dividers, but my friends tried 3.3V for both levels and...
View ArticleBASCOM-AVR : DS1307 RTC : REPLY
Mark, I suggest to add a error handler/flag, if the device does not respond. Thx for your code as well. I have a ?, why use the rtc at all? I have not used the BASCOM clock, timekeeping functions,...
View ArticleBASCOM-AVR : Problem with TIMER0-IRS : NEWTOPIC
Hi folks, I have the following problem: I am using TIMER0 with an ATMMEGA32 to generate an Interrupt for every 1ms. With a 16MHz-Crystal, Prescaler=64, CTC-Mode and OCR0=249 this should be achieved:...
View ArticleBASCOM-AVR : Toggling a bit in a byte-variable inside a SUB doesn't work :...
Hi folks, when I try to toggle a bit in a byte inside a SUB, it doesn't work. Not in simulator and not in real hardware. [code:1:5dc53c3bf2] $regfile = "m32def.dat" 'ATMEGA32: 32k Flash, 2k RAM, 1k...
View Article