-
Notifications
You must be signed in to change notification settings - Fork 48
Glcd Implementation on EasyMxPRO v7A #388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rabmarac
wants to merge
97
commits into
MikroElektronika:master
Choose a base branch
from
rabmarac:GLCD
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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 04d2d5d
Adding a ReadMe text file
rabmarac da7a11a
Updated Branch
rabmarac 73cae01
Updates v2
rabmarac 5fa06b2
Adding delays because of the instability of the CS signals
rabmarac c1e20e6
Fully working function (write)
rabmarac c76ed31
Added the "Dot" and "Fill Screen" functions
rabmarac 5d5060a
Updated tests in main file
rabmarac 7f2f5f2
Fully functional Dot function
rabmarac 6ca1bbf
Draw Line function/tests added
rabmarac 731f4bb
Fixes v3
rabmarac 5da6c46
Line function fully functrional
rabmarac 9cb8059
Can draw random parallelograms (need to add the fill function and rou…
rabmarac 1fc60e6
added rect funct, and renamed old Rect into Parallelogram (trying to …
rabmarac 5edddf5
Char function working
rabmarac 9c15a58
Write_Char function working with a char parameter
rabmarac c9faed8
Same
rabmarac 62cf6c3
Fully functional Write_Text with updated font bitmap (the 'i' character)
rabmarac e129a96
Correcting the bitmap for '!', 'd' and 'j'
rabmarac 55f86a0
Trying to fix the Fill_Polygon function (doesn't cover the whole shape)
rabmarac 08f38ca
Correction of the GLCD_Draw_Dots function
rabmarac 55d8d19
Merge branch 'MikroElektronika:master' into GLCD
rabmarac 7ef0482
Fill_Polygon updated but not fixed
rabmarac 1051136
Updating the project tree for fiting the SDK template
rabmarac faeaf81
Rearranging the .h file
rabmarac 168ef94
Same
rabmarac 16c782c
School brief presentation
rabmarac caaa64e
Merge branch 'MikroElektronika:master' into GLCD
rabmarac f054673
test
rabmarac 21b4709
Merge branch 'GLCD' of https://github.com/rabmarac/mikrosdk_v2 into GLCD
rabmarac 2a964d7
Going back to the elder version of fill_polygon (and deleting glcd.c …
rabmarac 18f61cb
Fill argument in Draw_Polygon fully working !
rabmarac aec2abc
Trying to fix the rect_function (not complete)
rabmarac c75e94e
Test filled function with various polygons
rabmarac f8192c7
Circle function and fitting MikroSDK tests template
rabmarac ff730f5
Updating the header file and the CMake from glcd/lib repository
rabmarac ccec93d
Forgot the Write_Char func
rabmarac 02cdbc8
Fixing Ellipse function (not working officialy)
rabmarac 3d7bb58
Ellispe function update (still not working)
rabmarac 0397830
Syncing from home
rabmarac fd3b232
Merge branch 'GLCD' of https://github.com/rabmarac/mikrosdk_v2 into GLCD
rabmarac 0d2e347
Deleting unnecessary files
rabmarac 8d9281c
Fill functionality for circle working
rabmarac 20ec8ef
Rect function fully functionnal
rabmarac f438e8e
Ellipse function fully functional
rabmarac 760b3a3
trying to "fix" the read function (writing a LL version of it)
rabmarac ba49d10
Low Level Read function working
rabmarac 93f9ac9
Adding geometric figure structure and redoing the glcd_t structure (g…
rabmarac 066f7f7
Same
rabmarac 5c63956
rewriting the library
rabmarac cdbced0
Correcting
rabmarac dd6e003
Rewrinting the code to fit the new geometric structure
rabmarac 5f888b8
Completed the entire code according to the geometric structures
rabmarac d933191
Same
rabmarac 853623d
Updating the GLCD_Draw_Rect to allow draw mulitple rectangles on diff…
rabmarac 2b00336
Updating "middleware/glcd/lib" and "middleware/glcd/src" according to…
rabmarac c2d19fa
Correcting the ellipse structure and function drawing
rabmarac 81d49fb
Ordering the function the same way as the header order. Added also do…
rabmarac 8107a49
Adding the corresponding documentations to the glcd.h
rabmarac 1da08c5
Finishing the documentation and updating the .h file adding the examples
rabmarac 664151f
Updating doc (better Example parsing)
rabmarac c36762f
Finished
rabmarac 4ea1593
Changing file (to avoid any warnings/errors in NECTO)
rabmarac 6242da3
up
rabmarac 3f197d8
Fixing the code (drawing circle not working properly anymore)
rabmarac cca8983
Update ReadMe.txt
rabmarac 18ee3aa
ReadMe.txt Update and fixing the current Draw_Line code
rabmarac b69b852
Merge branch 'GLCD' of https://github.com/rabmarac/mikrosdk_v2 into GLCD
rabmarac 02ec788
Redoing the glcd.h and .c to match the new headers and functions (cur…
rabmarac df36f8e
Adding the tests in the main
rabmarac ef60e19
Modifying the CMake of the project (it caused compilation error)
rabmarac 36df7bc
Fully functional GLCD Implementation
rabmarac 54af788
Deleting GLCD_Draw_Rect_Giving_Points because GLCD_Draw_Rect or GLCD_…
rabmarac d4b7610
adding stdint.h and stdbool.h libraries
rabmarac 676a706
Fixing the filling function for circles and ellipses
rabmarac b1c2619
Trimed spaces
rabmarac 45fd361
Changing code to fit mikroSDK standards #1
rabmarac 6c87d68
Changing code to fit mikroSDK standards #2
rabmarac 6f4df83
Changing code to fit mikroSDK standards #3
rabmarac 9c672e2
Changing code to fit mikroSDK standards #4 (tests functions update)
rabmarac daf7802
Changing code to fit mikroSDK standards #5
rabmarac 62c07c9
jabhcshibc
rabmarac ba74789
Changing code to fit mikroSDK standards #6
rabmarac 2f3eda5
Changing code to fit mikroSDK standards #7
rabmarac e579e01
Ssyncing from home
rabmarac e1d047a
Merge branch 'GLCD' of https://github.com/rabmarac/mikrosdk_v2 into G…
rabmarac f1dcef5
nothing has been changed
rabmarac 8498293
Merge branch 'GLCD' of https://github.com/rabmarac/mikrosdk_v2 into GLCD
rabmarac 190366c
Changing code to fit mikroSDK standards #8 (upadating type names, cor…
rabmarac 131d4f3
Merge branch 'GLCD' of https://github.com/rabmarac/mikrosdk_v2 into GLCD
rabmarac 21dc99c
Changing code to fit mikroSDK standards #8 (uncommenting the CMake file)
rabmarac 6410ed2
Changing code to fit mikroSDK standards #9 (deleting flatten_me.h)
rabmarac 6bce026
Syncing changes at MikroE
rabmarac 6b56600
Merge branch 'GLCD' of https://github.com/rabmarac/mikrosdk_v2 into GLCD
rabmarac 3ba3caf
Changing code to fit mikroSDK standards #9
rabmarac 08babbd
Changing code to fit mikroSDK standards #11
rabmarac 37ae8c3
Changing code to fit mikroSDK standards #12
rabmarac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
## ./middleware/glcd/CMakeLists.txt | ||
add_subdirectory(lib) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Glcd Implementation on EasyMxPRO v7A | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ## |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.