Share your working BASCOM-AVR code here : RHT03 (DHT22) Sensor : REPLY
Good to hear Alan. The only thing to remember is that with bitwait if the AVR does not get a change then it sits waiting forever using the watchdog would be a good addition. I have just written some...
View ArticleBASCOM-AVR : data loss using inkey #2 with software UART : REPLY
[quote:b105e06bba="six1"]because of this was a very special case... i only used INT to get first char of stream and ended reading by timeout.[/quote:b105e06bba] Whatever you say ;-)...
View ArticleBASCOM-AVR Old versions : [ask] read sms in siemens c55 : REPLY
Hi, C55 only have PDU sms format ? you can try this in BASCOM simulator [code:1:adea869fc7]$regfile = "m128def.dat" $crystal = 8000000 $baud = 19200 Dim I As Byte Dim J As Byte Dim I1 As Byte Dim J1...
View ArticleBASCOM-AVR Old versions : [ask] read sms in siemens c55 : REPLY
do not be shortened again, I just want to when there are incoming sms and message contents "y" then buzer last active? when to send sms I have managed to do it.
View ArticleBASCOM-AVR : data loss using inkey #2 with software UART : REPLY
takes a while, but NOW i got you :D Ludwig i'm getting older, you're right... Disabling the INT inside the interrupt routine is like filling a full pot :lol: so my code sample can be much, much...
View ArticleShare your working BASCOM-AVR code here : RHT03 (DHT22) Sensor : REPLY
Paul is right in saying you can be stuck in loop if something went wrong. At the time I just wanted to test to see how accurate it was. If you have a small micro and all your Interrupts are busy doing...
View ArticleShare your working BASCOM-AVR code here : Arduino Mega W5100 ethernetshield...
Perhaps a typo, I don't see much difference between these lines [code:1:327179a0cf] #if _crystal <= 8000000 Spcr = &B0101_0000 Spsr.spi2x = 1 #else Spcr = &B0101_0000 Spsr.spi2x = 1 #endif...
View ArticleShare your working BASCOM-AVR code here : Arduino Mega W5100 ethernetshield...
yes, you're right ben... corrected this in above code :D
View ArticleBASCOM-AVR Old versions : [ask] read sms in siemens c55 : REPLY
[code:1:2f3a5bdda4]'init ATE0 AT+CSCS=GSM AT+CPMS=ME AT+CNMI=1,1,0,2 'read sms index 1 AT+CMGR=1 'delete sms 1 AT+CMGD=1[/code:1:2f3a5bdda4]
View ArticleShare your working BASCOM-AVR code here : RHT03 (DHT22) Sensor : REPLY
In my coding I used both the WDT and Timer0 to make certain that the code did not get hung up waiting for a response. I tested it by putting delays in the loops involved and it seems both the WDT and...
View ArticleShare your working BASCOM-AVR code here : RHT03 (DHT22) Sensor : REPLY
Attached is my program for measuring the liquid level in a septic holding tank and for measuring the temperature and humidity in the tank's headspace. The system uses the following hardware Newhaven...
View ArticleBASCOM-AVR : Calculator percent error rate in the port : NEWTOPIC
Hello. I have long wanted to ask/wrote and kept forgetting, to remember: By default, the menu is set microcontroller "2313def.dat", if you switch to the tab, calculate the percentage of errors ports -...
View ArticleBASCOM-AVR : data loss using inkey #2 with software UART : REPLY
[quote:d990fcab94="jwolf"]Thanks for the good hint, Madf, but unfortunately the device I have will reply sending ASCII in multiple lines using <CR> inbetween, which will stop the input routine...
View ArticleBASCOM-AVR : data loss using inkey #2 with software UART : REPLY
Hi Madf, as far as I know the <CONFIG INPUT> works only with a real , i.e. a hardware UART. :cry: What I try is to use the software UART. Cheers, Johannes
View ArticleBASCOM-AVR : EADOGM 128x64: Can GLCDCMD and GLCDDATA be used? : NEWTOPIC
Hi there, I want to work with the Graphic LCD EADOGM 128x64. BASCOM supplies the LIB glcdeadogm128x6.lbx to use this display with the CONIFG GRAPHLCD command. Does anybody know, if the commands...
View ArticleBASCOM-AVR : data loss using inkey #2 with software UART : REPLY
Dear all, I would like to thank you for the discussion giving many useful hints and tips. Finally I found out what was preventing my Inkey - loop from receiving the first bytes of the replied message:...
View ArticleBASCOM-AVR : data loss using inkey #2 with software UART : REPLY
[quote:cd486b6788="jwolf"]as far as I know the <CONFIG INPUT> works only with a real , i.e. a hardware UART. :cry: What I try is to use the software UART.[/quote:cd486b6788] I'm doing a project,...
View ArticleBASCOM-AVR : EADOGM 128x64: Can GLCDCMD and GLCDDATA be used? : REPLY
yes it should work. it calls either _gwrite_cmd or _gwrite_data
View ArticleBASCOM-AVR : EADOGM 128x64: Can GLCDCMD and GLCDDATA be used? : REPLY
Thanks Mark for fast answer :-) Kind regards Roger
View ArticleBASCOM-AVR : data loss using inkey #2 with software UART : REPLY
[quote:f5a83aa794="jwolf"][code:1:f5a83aa794]Printbin #1 , Tx_buf(1) , X 'output x command bytes[/code:1:f5a83aa794][/quote:f5a83aa794] This use of printbin is wrong, checking the help you see that...
View Article