Giter Club home page Giter Club logo

psoc5_ugui_sample's Introduction

PSoC5 uGUI Sample

Sample and Test project of uGUI library v.0.31 for a PSoC5-LP Kit using a SSD1963 Solomon LCD controller and XPT2046 Touch Controller.
Developed for CY8CKIT-050 PSoC5-LP Kit with a CY8C5868AXI-LP035 device using PSoC Creator 4.2

Created by Andres Navas 2018

psoc5_ugui_sample's People

Contributors

andresnavas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

psoc5_ugui_sample's Issues

getting compilation error in ugui. c file

filename: ugui.c
line number: 5291
API: _UG_PutChar

void _UG_PutChar( char chr, UG_S16 x, UG_S16 y, UG_COLOR fc, UG_COLOR bc, const UG_FONT* font)
{


/* Is hardware acceleration available? /
if ( gui->driver[DRIVER_FILL_AREA].state & DRIVER_ENABLED )
{
void(push_pixel)(UG_COLOR);
//(void(
)(UG_COLOR))
push_pixel = ((void
(*)(UG_S16, UG_S16, UG_S16, UG_S16))gui->driver[DRIVER_FILL_AREA].driver)(x,y,x+actual_char_width-1,y+font->char_height-1);

  if (font->font_type == FONT_TYPE_1BPP)
  {

}

i am getting below error at the at this code ( push_pixel = ((void*(*)(UG_S16, UG_S16, UG_S16, UG_S16))gui->driver[DRIVER_FILL_AREA].driver)(x,y,x+actual_char_width-1,y+font->char_height-1);)

Could you please assist me?

Error[Pe513]: a value of type "void " cannot be assigned to an entity of type "void ()(UG_U16)"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.