SHIELDBTF3050TETOBO1 Arduino code snipit used to test the shield LEDs

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
TominMaryland
Level 2
Level 2
5 replies posted 5 questions asked 5 sign-ins

As I learn more about the Infineon Shield I am working with SHIELDBTF3050TETOBO1 here is sample code that tests the LEDs...

void setup() {
// put your setup code here, to run once:

pinMode(13, OUTPUT);
pinMode(10, OUTPUT);
pinMode(4, OUTPUT);
pinMode(2, OUTPUT);
}

void loop() {
// put your main code here, to run repeatedly:
digitalWrite (13,HIGH);
delay (100);
digitalWrite (10,HIGH);
delay (100);
digitalWrite (4,HIGH);
delay (100);
digitalWrite (2,HIGH);
delay (100);

digitalWrite (13,LOW);
delay (100);
digitalWrite (10,LOW);
delay (100);
digitalWrite (4,LOW);
delay (100);
digitalWrite (2,LOW);
delay (100);

// success leds blink;

}

 

 

 

0 Likes
1 Solution
Anshika_G
Moderator
Moderator
Moderator
First question asked 50 likes received 250 replies posted

Hi,
Thank you for posting on Infineon Community.

I believe it is the code that you have designed and compiled for your system. Thank you for sharing it with us.
Let me know if you need any further help.

Regards,
Anshika

View solution in original post

0 Likes
2 Replies
Anshika_G
Moderator
Moderator
Moderator
First question asked 50 likes received 250 replies posted

Hi,
Thank you for posting on Infineon Community.

I believe it is the code that you have designed and compiled for your system. Thank you for sharing it with us.
Let me know if you need any further help.

Regards,
Anshika

0 Likes

Yes it is code that I am using with the development board to see if it is connected and communicating with the arduino that I have posted here for others