Quantcast
Channel: Renesas Synergy Platform
Viewing all articles
Browse latest Browse all 23645

Forum Post: RE: SK-S7G2 SSP LED component issue

$
0
0
The code you are trying to edit is under a folder with the "synergy" in the name, hence, this is code that you should not try to edit, as it is either extracted from the SSP pack file (or in other cases, the code is generated code) when the project contents is generated. The problem with the enum is fixed in the up coming SSP 1.1.0 release. In SSP 1.0.0 for the SK board, you will have to use the LED number directly :- g_ioport.p_api- pinWrite(Leds.p_leds[0] ,IOPORT_LEVEL_HIGH); g_ioport.p_api- pinWrite(Leds.p_leds[1] ,IOPORT_LEVEL_HIGH); g_ioport.p_api- pinWrite(Leds.p_leds[2] ,IOPORT_LEVEL_HIGH); or create you own enum or define for the LEDs.

Viewing all articles
Browse latest Browse all 23645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>