We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
posted on 2013/10/22 10:36:09 AM CEST
ATXMEGA has a lot of hardware on board and a huge amount of hardware registers.
But very few examples to know how to use them...
If you look at concurrent compiler avrhelp.mcselec.com/index.html
and search for "xmega" you will see lots of examples and integrated features. For example :
- how to config XMEGA CLOCKs ?
- How to config DMA ?
- How to config ADC for use in DMA mode ?
- port interrupt for Xmega ?
- how to configure extended options for ports pins ?
- how to cascade 2 16 bits timers to make a 32 bits one ?
- how to configure Xmega power reduction ?
posted on 2013/10/16 10:31:20 AM CEST
posted on 2013/09/26 03:18:33 PM CEST
Hi! Im some new here!
I have a problem with the PCF8574 I/O Expander.
To write to the expander is easy!
But i can't read from the I/O-expander...
Thera are 8 pull-up resistors (10k) on the 8 input switches)
I have transform de c-code for the RTC-clock (PCF8583)
I2C1_Init(100000); //Init I2C with desired clock
{
I2C1_Start(); // issue I2C start signal
I2C1_Wr(0b01001110); // send byte via I2C (device address + W) A0-A1-A2 = 1
I2C1_Repeated_Start(); // issue I2C signal repeated start
I2C1_Wr(0b01001111); // send byte (device address + R)
PORTB = I2C1_Rd(0); // Read the data (NO acknowledge) to PORTB (8 x LED)
I2C1_Stop(); // issue I2C stop signal
}
Can you help mee?
Thanks
posted on 2013/09/16 02:41:23 AM CEST
I am looking for example code for the following: EasyPIC 6 and EasyPIC 7.
I need example code for working with the serial LED boards, LED's and code to interface a project to
control relays, and code to connect my PIC to a PLL IC (5 and 8 volts).
I am looking for anything that will help get me started with the above 2 development boards.
Thank you in advance!
posted on 2013/09/02 07:53:23 AM CEST
I would like a library to manage files type JPG generated by a video camera.
In other words: capture a picture thanks to a video camera and create a JPG image to be saved on a microSD.
All this must be managed by a series microP PIC18F.
Thank you very much.