Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UFCFVK-15-2 - Internet of things - Challenge 1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
ja3-saxby
UFCFVK-15-2 - Internet of things - Challenge 1
Commits
faecddd8
Verified
Commit
faecddd8
authored
5 years ago
by
ja3-saxby
Browse files
Options
Downloads
Patches
Plain Diff
Add simple image debug test
parent
0be11d68
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/main.cpp
+8
-0
8 additions, 0 deletions
source/main.cpp
with
8 additions
and
0 deletions
source/main.cpp
+
8
−
0
View file @
faecddd8
...
@@ -179,6 +179,14 @@ int main() {
...
@@ -179,6 +179,14 @@ int main() {
UBIT
.
display
.
scroll
(
"BLOCKS!"
);
UBIT
.
display
.
scroll
(
"BLOCKS!"
);
// XXX: simple debug test to check my FLASH images were stored correctly
while
(
true
)
{
// display new random blocks each second
Block
block
;
UBIT
.
display
.
print
(
block
.
image
(),
1
,
1
);
UBIT
.
sleep
(
1000
);
// 1000ms or 1s sleep
}
// TODO: potentially remove this call, if clarified that it is not required.
// TODO: potentially remove this call, if clarified that it is not required.
// If main exits, there may still be other fibers running or registered event handlers etc.
// If main exits, there may still be other fibers running or registered event handlers etc.
// Simply release this fiber, which will mean we enter the scheduler. Worse case, we then
// Simply release this fiber, which will mean we enter the scheduler. Worse case, we then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment