BASCOM-AVR : LINEINPUT : REPLY
Hi Ian Yes , that is what I had in mind - I must just make sure about the seek and get and what they offer. The other plan was to make all the entries a fixed length , then go same route from the EOF...
View ArticleBASCOM-AVR : LINEINPUT : REPLY
I have another question Is there a way to "load " the LINEINPUT data, to force it not to start from the beginning of a file , that you know about ? I notice r24 is the file pointer and r25 is the...
View ArticleBASCOM-AVR : bootloader always running, "_reset" command has ob : NEWTOPIC
BASCOM 2.0.7.5.003 + AVR-DOS professional license Hi everybody, after flashing my program to the ATMega2561, the controller still starts with the bootloader, not running the program. Painfully, i...
View ArticleBASCOM-AVR : The graphic display to help the driver HX8353-C : NEWTOPIC
Hello I have a problem with the operation of the display 1.8 "TFT controlled by SPI I do not know where to start I'm a beginner in Bascom He asked me to help more experienced people maybe someone...
View ArticleBASCOM-AVR : Rotary encoder problem : NEWTOPIC
Welcome I got written by a fellow library but I have a problem with her service I wanted to do with the possibility of the thermostat temperature setting I wrote a program but with buttons Now I...
View ArticleBASCOM-AVR : How to copy 2 byte vars to word var : NEWTOPIC
Hello, Dim Incoming(20) as byte Dim tempx as word I need to copy the bytes incoming(6) and incoming(7) to the word var tempx, how to do that This way not work High(tempx) = Incoming(6) Low(tempx) =...
View ArticleBASCOM-AVR : How to copy 2 byte vars to word var : NEWTOPIC
Hello, Dim Incoming(20) as byte Dim tempx as word I need to copy the bytes incoming(6) and incoming(7) to the word var tempx, how to do that This way not work High(tempx) = Incoming(6) Low(tempx) =...
View ArticleBASCOM-AVR : ATmega128 : REPLY
Hi I use the mega128 and also serial comms but unless you program via jtag the one serial port is normally used for spi programming , and unless you want to plug and unplug to isolate the programmer...
View ArticleBASCOM-AVR : How to copy 2 byte vars to word var : REPLY
Hello, i again I founded in the help and will see if this solution for my needs varn = MAKEINT(LSB , MSB) Best regards toto
View ArticleBASCOM-AVR : ATmega128 : REPLY
So, I checked the second Mega128A. It immediately transmits on both UARTs with the code posted above. Probably something was wrong with my hardware originally (I might have looked onto the board from...
View ArticleBASCOM-AVR : How to copy 2 byte vars to word var : REPLY
If the Low Byte comes in first, then its easy: [code:1:51e6b8edcf]Dim Incoming(20) as Byte Dim Tempx as Word at Incoming(6) Overlay[/code:1:51e6b8edcf] Done. If the High Byte comes in first, you will...
View ArticleEASY TCP/IP : Timer 0 ,2 : REPLY
Nico, do not have the chip to test fully ... but as a minimum I suggest including: [code:1:42f336cebf]Start Timer0[/code:1:42f336cebf]
View ArticleBASCOM-AVR Old versions : How to copy 2 byte vars to word var : REPLY
TempX = Incoming(6) *256 TempX = TempX + Incoming(7)
View ArticleShare your working BASCOM-AVR code here : lcd4e2busy.lib : NEWTOPIC
Hello, Well, I finally took some time to learn a bit about AVR assembly coding. I took two existing libs, "lcd4e2" & "lcd4busy.lib", merged and tested. It certainly speeds up execution, over what...
View ArticleBASCOM-AVR : DS1307 RTC : NEWTOPIC
I have used this chip before in other versions of the compiler and it seemed to work. There are 4.7k pullups on the SDA and SCL lines. Vcc=5.0v. Today I go to use it and the following code doesn't...
View ArticleBASCOM-AVR : DS1307 RTC : REPLY
[quote:3f77e68791="mmarlette"]I am obviously missing something.[/quote:3f77e68791] That Config Twic is for Xmega?
View ArticleBASCOM-AVR : Simple two digits code? : NEWTOPIC
Hello, all I have an code to drive one 7 segment digit but now I will two drive digits can any explain how I do this. code: $regfile = "m328pdef.dat" $crystal = 20000000 $hwstack = 40 $swstack = 16...
View ArticleBASCOM-AVR Old versions : How to copy 2 byte vars to word var : REPLY
Hello Frankeman, You right, it can be so simple. Thanks I dont know what is faster the, "Makeint" or your solutions Best regards toto
View ArticleBASCOM-AVR : Simple two digits code? : REPLY
Hello Search for multiplexing Best regards toto
View ArticleBASCOM-AVR : Simple two digits code? : REPLY
Toto with multiplexing your must use an external chip to control the 7 segments but I will like to control it only with my ATMEGA without any external chip. Is this possible look at 2x7segment.jpg
View Article