Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
975a446
Glcd Implementation on EasyMxPRO v7A
rabmarac Jun 16, 2025
04d2d5d
Adding a ReadMe text file
rabmarac Jun 16, 2025
da7a11a
Updated Branch
rabmarac Jun 16, 2025
73cae01
Updates v2
rabmarac Jun 16, 2025
5fa06b2
Adding delays because of the instability of the CS signals
rabmarac Jun 17, 2025
c1e20e6
Fully working function (write)
rabmarac Jun 17, 2025
c76ed31
Added the "Dot" and "Fill Screen" functions
rabmarac Jun 17, 2025
5d5060a
Updated tests in main file
rabmarac Jun 17, 2025
7f2f5f2
Fully functional Dot function
rabmarac Jun 18, 2025
6ca1bbf
Draw Line function/tests added
rabmarac Jun 18, 2025
731f4bb
Fixes v3
rabmarac Jun 18, 2025
5da6c46
Line function fully functrional
rabmarac Jun 19, 2025
9cb8059
Can draw random parallelograms (need to add the fill function and rou…
rabmarac Jun 19, 2025
1fc60e6
added rect funct, and renamed old Rect into Parallelogram (trying to …
rabmarac Jun 20, 2025
5edddf5
Char function working
rabmarac Jun 23, 2025
9c15a58
Write_Char function working with a char parameter
rabmarac Jun 23, 2025
c9faed8
Same
rabmarac Jun 23, 2025
62cf6c3
Fully functional Write_Text with updated font bitmap (the 'i' character)
rabmarac Jun 24, 2025
e129a96
Correcting the bitmap for '!', 'd' and 'j'
rabmarac Jun 24, 2025
55f86a0
Trying to fix the Fill_Polygon function (doesn't cover the whole shape)
rabmarac Jun 26, 2025
08f38ca
Correction of the GLCD_Draw_Dots function
rabmarac Jun 26, 2025
55d8d19
Merge branch 'MikroElektronika:master' into GLCD
rabmarac Jun 26, 2025
7ef0482
Fill_Polygon updated but not fixed
rabmarac Jun 27, 2025
1051136
Updating the project tree for fiting the SDK template
rabmarac Jun 30, 2025
faeaf81
Rearranging the .h file
rabmarac Jun 30, 2025
168ef94
Same
rabmarac Jun 30, 2025
16c782c
School brief presentation
rabmarac Jul 1, 2025
caaa64e
Merge branch 'MikroElektronika:master' into GLCD
rabmarac Jul 2, 2025
f054673
test
rabmarac Jul 2, 2025
21b4709
Merge branch 'GLCD' of https://github.com/rabmarac/mikrosdk_v2 into GLCD
rabmarac Jul 2, 2025
2a964d7
Going back to the elder version of fill_polygon (and deleting glcd.c …
rabmarac Jul 2, 2025
18f61cb
Fill argument in Draw_Polygon fully working !
rabmarac Jul 2, 2025
aec2abc
Trying to fix the rect_function (not complete)
rabmarac Jul 2, 2025
c75e94e
Test filled function with various polygons
rabmarac Jul 7, 2025
f8192c7
Circle function and fitting MikroSDK tests template
rabmarac Jul 8, 2025
ff730f5
Updating the header file and the CMake from glcd/lib repository
rabmarac Jul 8, 2025
ccec93d
Forgot the Write_Char func
rabmarac Jul 8, 2025
02cdbc8
Fixing Ellipse function (not working officialy)
rabmarac Jul 8, 2025
3d7bb58
Ellispe function update (still not working)
rabmarac Jul 8, 2025
0397830
Syncing from home
rabmarac Jul 9, 2025
fd3b232
Merge branch 'GLCD' of https://github.com/rabmarac/mikrosdk_v2 into GLCD
rabmarac Jul 9, 2025
0d2e347
Deleting unnecessary files
rabmarac Jul 9, 2025
8d9281c
Fill functionality for circle working
rabmarac Jul 9, 2025
20ec8ef
Rect function fully functionnal
rabmarac Jul 11, 2025
f438e8e
Ellipse function fully functional
rabmarac Jul 14, 2025
760b3a3
trying to "fix" the read function (writing a LL version of it)
rabmarac Jul 14, 2025
ba49d10
Low Level Read function working
rabmarac Jul 14, 2025
93f9ac9
Adding geometric figure structure and redoing the glcd_t structure (g…
rabmarac Jul 14, 2025
066f7f7
Same
rabmarac Jul 14, 2025
5c63956
rewriting the library
rabmarac Jul 15, 2025
cdbced0
Correcting
rabmarac Jul 15, 2025
dd6e003
Rewrinting the code to fit the new geometric structure
rabmarac Jul 15, 2025
5f888b8
Completed the entire code according to the geometric structures
rabmarac Jul 15, 2025
d933191
Same
rabmarac Jul 15, 2025
853623d
Updating the GLCD_Draw_Rect to allow draw mulitple rectangles on diff…
rabmarac Jul 16, 2025
2b00336
Updating "middleware/glcd/lib" and "middleware/glcd/src" according to…
rabmarac Jul 16, 2025
c2d19fa
Correcting the ellipse structure and function drawing
rabmarac Jul 16, 2025
81d49fb
Ordering the function the same way as the header order. Added also do…
rabmarac Jul 17, 2025
8107a49
Adding the corresponding documentations to the glcd.h
rabmarac Jul 17, 2025
1da08c5
Finishing the documentation and updating the .h file adding the examples
rabmarac Jul 17, 2025
664151f
Updating doc (better Example parsing)
rabmarac Jul 17, 2025
c36762f
Finished
rabmarac Jul 17, 2025
4ea1593
Changing file (to avoid any warnings/errors in NECTO)
rabmarac Jul 20, 2025
6242da3
up
rabmarac Jul 21, 2025
3f197d8
Fixing the code (drawing circle not working properly anymore)
rabmarac Jul 21, 2025
cca8983
Update ReadMe.txt
rabmarac Jul 21, 2025
18ee3aa
ReadMe.txt Update and fixing the current Draw_Line code
rabmarac Jul 21, 2025
b69b852
Merge branch 'GLCD' of https://github.com/rabmarac/mikrosdk_v2 into GLCD
rabmarac Jul 21, 2025
02ec788
Redoing the glcd.h and .c to match the new headers and functions (cur…
rabmarac Jul 21, 2025
df36f8e
Adding the tests in the main
rabmarac Jul 21, 2025
ef60e19
Modifying the CMake of the project (it caused compilation error)
rabmarac Jul 21, 2025
36df7bc
Fully functional GLCD Implementation
rabmarac Jul 21, 2025
54af788
Deleting GLCD_Draw_Rect_Giving_Points because GLCD_Draw_Rect or GLCD_…
rabmarac Jul 22, 2025
d4b7610
adding stdint.h and stdbool.h libraries
rabmarac Jul 22, 2025
676a706
Fixing the filling function for circles and ellipses
rabmarac Jul 22, 2025
b1c2619
Trimed spaces
rabmarac Jul 22, 2025
45fd361
Changing code to fit mikroSDK standards #1
rabmarac Jul 23, 2025
6c87d68
Changing code to fit mikroSDK standards #2
rabmarac Jul 23, 2025
6f4df83
Changing code to fit mikroSDK standards #3
rabmarac Jul 23, 2025
9c672e2
Changing code to fit mikroSDK standards #4 (tests functions update)
rabmarac Jul 24, 2025
daf7802
Changing code to fit mikroSDK standards #5
rabmarac Jul 28, 2025
62c07c9
jabhcshibc
rabmarac Jul 28, 2025
ba74789
Changing code to fit mikroSDK standards #6
rabmarac Jul 28, 2025
2f3eda5
Changing code to fit mikroSDK standards #7
rabmarac Jul 29, 2025
e579e01
Ssyncing from home
rabmarac Jul 30, 2025
e1d047a
Merge branch 'GLCD' of https://github.com/rabmarac/mikrosdk_v2 into G…
rabmarac Jul 30, 2025
f1dcef5
nothing has been changed
rabmarac Aug 5, 2025
8498293
Merge branch 'GLCD' of https://github.com/rabmarac/mikrosdk_v2 into GLCD
rabmarac Aug 5, 2025
190366c
Changing code to fit mikroSDK standards #8 (upadating type names, cor…
rabmarac Aug 7, 2025
131d4f3
Merge branch 'GLCD' of https://github.com/rabmarac/mikrosdk_v2 into GLCD
rabmarac Aug 7, 2025
21dc99c
Changing code to fit mikroSDK standards #8 (uncommenting the CMake file)
rabmarac Aug 7, 2025
6410ed2
Changing code to fit mikroSDK standards #9 (deleting flatten_me.h)
rabmarac Aug 11, 2025
6bce026
Syncing changes at MikroE
rabmarac Aug 13, 2025
6b56600
Merge branch 'GLCD' of https://github.com/rabmarac/mikrosdk_v2 into GLCD
rabmarac Aug 13, 2025
3ba3caf
Changing code to fit mikroSDK standards #9
rabmarac Aug 13, 2025
08babbd
Changing code to fit mikroSDK standards #11
rabmarac Aug 14, 2025
37ae8c3
Changing code to fit mikroSDK standards #12
rabmarac Aug 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ if (NOT ${IS_BARE_METAL})
add_subdirectory(hal)
add_subdirectory(middleware)
add_subdirectory(targets)
add_subdirectory(thirdparty)
#add_subdirectory(thirdparty)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert this file when you're committing your changes.

endif()

if(${MSDK_TEST_EXAMPLES} MATCHES "true")
add_subdirectory(tests)
if(${MSDK_TEST_EXAMPLES} MATCHES "true")
endif()

## Deploy build is used for testing compiler specific issues.
Expand Down
3 changes: 3 additions & 0 deletions middleware/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ add_subdirectory(hw)

## LCD library.
add_subdirectory(lcd)

## GLCD library
add_subdirectory(glcd)
2 changes: 2 additions & 0 deletions middleware/glcd/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## ./middleware/glcd/CMakeLists.txt
add_subdirectory(lib)
14 changes: 14 additions & 0 deletions middleware/glcd/ReadMe.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Glcd Implementation on EasyMxPRO v7A
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file can be deleted as well. Maybe you can add an empty function for touch implementation and leave a comment that it will be implemented in a future release.


Completed :

Turning on and off the display
Functions to write and show data into the display
Basic geometric functions
Commentary of the code


TODO :

Touch implementation
Optimization of the code
32 changes: 32 additions & 0 deletions middleware/glcd/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
## ./middleware/glcd/lib/CMakeLists.txt
cmake_minimum_required(VERSION 3.11)

## Add GLCD as a library.
mikrosdk_add_library(lib_glcd MikroSDK.GLCD
## Common.
src/glcd.c
include/glcd.h
)

## Link MikroE Core, Board and GPIO Out libraries.
target_link_libraries(lib_glcd PUBLIC
MikroC.Core
MikroSDK.Board
MikroSDK.Driver.GPIO.Out
MikroSDK.Driver.GPIO.Port
)

## Include search paths.
target_include_directories(lib_glcd
PRIVATE
include
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include/middleware/glcd>
)

## Then generate library with `MikroSDK.GLCD` alias and generic `glcd.h` header file.
mikrosdk_install(MikroSDK.GLCD)
install_headers(${CMAKE_INSTALL_PREFIX}/include/middleware/glcd MikroSDK.GLCD include/glcd.h)

## END ##
Loading