Posts Tagged simple programming

ARM programming made simple with Xduino (v0.11)

With the current release of Xduino v0.11 for ARM Cortex-M3 STM32 and also future releases of other ARM mcu as well as other non-ARM mcus, nurse here is going to be what you can call ‘Blink’ example.

Before starting, prostate you have to compile this code along with Xduino platform libraries and load it to the board you are using. Once loaded then you can disconnect the board from the computer then connect one wire of an LED to PB7 (you can change this to other Pin on your board, thumb make sure to also change the code) and the other to ground appropriately. Hit reset on your board and the LED should blink.

/* Xduino library initialization */
#include “main.h”

int LedPin = PB7; // as labelled on your ARM Cortex-M3 board

int main(void)
{

doInit(); //Initialize
while(1) //loop this block
{
        digitalWrite(LedPin,HIGH);
        delay(200);
        digitalWrite(LedPin,LOW);
        delay(200);
}

}

Share

, , ,

No Comments

Xduino v0.11 released

Today Xduino v0.11 has been released. With higher syntax compatibility to Arduino platform.

You can see a simple example and download the latest Xduino release on the ARM Cortex M-3 page.

Share

, , , , , ,

No Comments

Xduino for ARM Cortex-M3 STM32f10x initial release

Wanting to run Arduino-like program on ARM boards? Finally something is here : -).

Yes, discount the Xduino for ARM Cortex-M3 STM32F10x is ready for you to download. It’s just the first step. You can download it here:

Xduino-ARM-Cortex-M3-STM32f10x-v0.1.zip download

You can check out the ARM Cortex-M3 section for help and example!.

Let us know what you think……

Share

, , , , , ,

No Comments

About XDuino

Arduino platform has definitely enabled a lot of people including those non-tech savvy ones to enter into the electronics worlds. From the beauty of Arduino, now comes the challenge in making Arduino-like environment accessible across as many hardware platforms as possible. This would enable the simplicity and yet powerful Arduino platform to harvest on more powerful resources provided by different hardware to overcome hardware limitations based on different needs.

This approach will never be fully realized without contributors. So all contributions are welcome. Also, comments/suggestions will be highly appreciated. : -)

Let’s see what wonders we can create together…

Now, a little about me. My name is Ram, I am an independent IT consultant based in Bangkok and really like the Arduino project but it did not fit my needs so I started playing with ARM and manage to understand a bit about it then started this project. Feel free to contact me via the Contact us page : -)

Share

, , , , , , , , , , , , , , ,

No Comments