BASCOM-AVR : scan 8 channel in free runing mode of xmega : REPLY
[quote:08b1bd7266="karlos"]i want to scan 8 channel (pina.0 to pina.7) of xmega32a4 [/quote:08b1bd7266] If the controller provides only 4 channels, you won't find samples using 8.
View ArticleBASCOM-AVR : scan 8 channel in free runing mode of xmega : REPLY
changing Mux cant help me?
View ArticleBASCOM-AVR : scan 8 channel in free runing mode of xmega : REPLY
[quote:4fd21a9e9e="karlos"]changing Mux cant help me?[/quote:4fd21a9e9e] Sure, it's fairly easy to write code for sampling 8 AD-pins even with a Tiny87, simply change MUX within the ISR. But you did...
View ArticleBASCOM-AVR : hardware SPI : NEWTOPIC
Hi The attached programm is a part a programm for a electronic load. The programm stops at the Spiout command and do not continue, when using hardware SPI. Using Soft SPI with the same Pins workes...
View ArticleBASCOM-AVR : ATxmega128B3 : REPLY
Thanks for the DAT file. But support for PORTG and PORTM is missing. I get this from MCS support. Add to the IOEXT DDRM=1888 PORTM=1892 PINM=1896 DDRG=1728 PORTG=1732 PING=1736 But Still missing...
View ArticleBASCOM-AVR : 128B3 : NEWTOPIC
Hi, How can I configure PORTM ? SET an output ? READ an input ? Best regards Georges [b:c60830093b][color=red:c60830093b](BASCOM-AVR version : 2.0.7.8 )[/b:c60830093b][/color:c60830093b]
View ArticleBASCOM-AVR : ATxmega128B3 : REPLY
Hi, How can I configure PORTM ? SET an output ? READ an input ? Best regards Georges
View ArticleBASCOM-AVR : ATxmega128B3 : REPLY
The ide doesn't know portm yet, but you can use the registers direct yourself. Set port direction: [code:1:8cdc73d26b]DDRM= $B00001010[/code:1:8cdc73d26b] Read a pin: [code:1:8cdc73d26b]a=...
View ArticleBASCOM-AVR : XMEGA INT for Dummies : NEWTOPIC
Hi, I have an XMEGA 128B3 running at 32 Mhz. How can I generate an Timer INTeRRUPT every milliseconde ? Thanks for alll Georges [b:f64751defb][color=red:f64751defb](BASCOM-AVR version : 2.0.7.8...
View ArticleBASCOM-AVR : XMEGA INT for Dummies : REPLY
this cod evil generate every 1mSec a interrupt [code:1:2a9dfa4a00] Config_tc0: Config Tcc0 = Normal , Prescale = 128 Tcc0_per = 250 '32MHz/128 = 0.000004 * 250 --> 1mSecOne Tick On Tcc0_ovf Tc0_isr...
View ArticleBASCOM-AVR : XMEGA INT for Dummies : REPLY
Hi, I change prescale to 256 and it work nicely. Many thanks, Best regards Georges
View ArticleBASCOM-AVR : Inkey with case statements that need to start with 0 : NEWTOPIC
Inkey with case statements that need to start with 0 like if it starts with 0 as 1 then it just hangs on 0 and wont go to the next thing i just cant see a way out of it lol...
View ArticleBASCOM-AVR : Inkey with case statements that need to start with 0 : REPLY
Inkey returns 0 ( ie Binary zero ) when there is no character in the input buffer. So anytime you enter inkey, and there is no character waiting, you will get 0 as response, hence your case statement...
View ArticleBASCOM-AVR : Inkey with case statements that need to start with 0 : REPLY
thank you AdrianJ!!!
View ArticleBASCOM-AVR : atmega1284p : NEWTOPIC
Hi all, im new to micro controller programming and have been working on programs that were intitially written by other people. i can write logic well but do not have background knowledge in...
View ArticleBASCOM-AVR : atmega1284p : REPLY
Looks like bad or to long wiring to me. But that's just a guess, with code and schematic it's hard to say. ;-)
View ArticleBASCOM-AVR : EEprom access using pointers and tables : REPLY
you can test it, a version that supports this was uploaded to SLA 2080.
View ArticleBASCOM-AVR Old versions : Libraries Xmega : NEWTOPIC
Hi I need to Link Libraries (Xmega) special program (Proteus ) thank you
View ArticleShare your working BASCOM-AVR code here : 1-Wire search & save + DS1820 : REPLY
Sadly this one can not be used with the free version as it just exceeds the 4K limit by 200 bytes. But the .HEX & .BIN files will let you load the UNO This uses the Arduino UNO with an Pcf8574 I2C...
View Article