Share your working BASCOM-AVR code here : nRF24AP2 and ANT Wireless Protocol...
Hello, The attached Demo shows how to communicate with ANT wireless devices. In this case, I show how to create an ANT Slave using the Nordic Semiconductor nRF24AP2 module. This is done in this Demo...
View ArticleBASCOM-AVR : Printing Arrays with Constant in Index - not correct? : REPLY
of course. this is true for all string arrays.
View ArticleBASCOM-AVR : Change W5100 IP , MAC , Gateway , Subnet from file on SD : REPLY
have a look at settcp statement. it is used in the samples too. here is a snippet. [code:1:2603c62852]'The next code is optional. It shows how to change the IP at run time #if Epr = 1 Dim Xx As Eram...
View ArticleBASCOM-AVR : BASCOM-AVR not saving state or settings : REPLY
i had a look. it appears your settings file was damaged. for those facing the same problem : - run bascom - click help, about - click xml data folder link - close bascom (that is important) - rename...
View ArticleBASCOM-AVR : BASCOM-AVR not saving state or settings : REPLY
Wonder how it got damaged. its practically a fresh install.
View ArticleBASCOM-AVR : BASCOM-AVR not saving state or settings : REPLY
maybe the program was closed with task manager? i have no idea. it is placed in a normal roaming user folder. i did not checked your PC on running software, i only checked if the file had the right...
View ArticleBASCOM-AVR : Xmega Interrupt OnChange : REPLY
not the same as in megaAVR. but 2 pins of a port can have an onchange interrupt. the thing that comes closest is the event system of xmega. have a look at the xmega manual and the event system sample...
View ArticleShare your working BASCOM-AVR code here : nRF24AP2 and ANT Wireless Protocol...
hello Ennio, thank you for sharing your work. thanks you that you included the PDF as well. while i have been busy with mega128RFA1 and other RF chips i did not knew about this ultra low power chips...
View ArticleBASCOM-AVR : Change W5100 IP , MAC , Gateway , Subnet from file on SD : REPLY
Hello Mark Yes I am trying to use Settcp but it was not working but after moving the line up in the code it works but why and it still means I can not get settings from SD card. In the code below you...
View ArticleBASCOM-AVR : Temporary write protection Bit on SD Card : REPLY
Hello I found here information about this. Can anyone make this for Bascom? www.seanet.com/~karllunt/sdlocker2.html Best regards toto
View ArticleBASCOM-AVR : Unix epoch time -->> DD-MM-YYYY : NEWTOPIC
Hello am looking for the method for Bascom AVR (Atmega168 or 328) to go from Unix epoch time to DD/MM/YYYY example: 1386512540 sort 08 Dec 2013 13:32:56 Thank you in advance. Patrice ----...
View ArticleBASCOM-AVR : Unix epoch time -->> DD-MM-YYYY : REPLY
I'd try with the syssec() function. There's a difference however, Unix-second starts to count from 1.1.1970 00:00:00 GMT, while syssec() does from 1.1.2000 00:00:00, see the help. As 1.1.2000 00:00:00...
View ArticleBASCOM-AVR : Unix epoch time -->> DD-MM-YYYY : REPLY
Good evening and please put me on the right track. to do: Config Date = Ymd, Separator = / ' ANSI-Format Dim Strdate As String * 8 Dim Lsyssec As Long Nb_sec = time unix - 946684800 This gives us the...
View ArticleBASCOM-AVR : Unix epoch time -->> DD-MM-YYYY : REPLY
[quote:790af6298e="F5JTZ"]and please put me on the right track.[/quote:790af6298e] Looks like You're already there, as well I've sent you in the wild :D Syssec() does the conversion the other way...
View ArticleBASCOM-AVR : Unix epoch time -->> DD-MM-YYYY : REPLY
Hello F5JTZ I have some code here where I tried to explain it in the comments http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=10604&highlight=unix+epoc...
View ArticleBASCOM-AVR : Gosub vs. Call a procedure : REPLY
I have been re-reading this earlier thread, and I'm now not sure I have it clear in my mind. Mark said [quote:a529b18aab]as you can see, i can nest a label/return inside the sub but you can not nest...
View ArticleBASCOM-AVR : Watch dog question for comm failure handling : REPLY
I pretty much do what Mark recommends in elsewhere this thread: I have a main do-loop which calls a heap of label: ..return, and sub() ...end sub, and the subs are grouped at the end of the code. My...
View ArticleBASCOM-AVR : Watch dog question for comm failure handling : REPLY
Hello Neil So if I am correct the watch dog is too fast you need more delay, my favorite chip for timing is the NE555 this would work well as a watch dog as with a spare pin on the cpu you could reset...
View ArticleBASCOM-AVR : Watch dog question for comm failure handling : REPLY
Hi Paul, yes the other problem took several months to pin down, and was due to my driving a flashing LED ( with a 1k) off the A port, which is supplied from the Avcc believe it or not. Horrible. Hard...
View ArticleBASCOM-AVR : KS0108 Display: Trouble with higher clock speed : REPLY
Hi Mark, I made a little mistake. It works with O-family's .lbx file not with the 0108-v2 O-Family's driver sometimes needs a few pushes on the reset button but if it works it stayes working the V2...
View Article