/* Arduino Rotary Encoder Tutorial
*
* by Dejan Nedelkovski, www.HowToMechatronics.com
*
*/
#define outputA 6
#define outputB 7
#include <Stepper.h>
#define STEPS 2038 // the number of steps in one revolution of your motor (28BYJ-48)
Stepper stepper(STEPS, 8, 10, 9, 11);
void setup() {
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
| ; Connect switch header to PORTB (RB) | |
| ; Uses RETLW instruction to return a value from subroutine which | |
| ; sets buzzer frequency. Which value is returned depends on number in index. | |
| ; Buzzer starts when switch 0 is pressed and | |
| ; stops when switch 0 is released. | |
| Title "buzzer using RETLW" | |
| #include "p16F1789.inc" |
- day #1: Choosing a reference source (learning scala (ls), jason schwartz), setting up the environment (mac osx, jdk 14.0.1)
- [p] End of Chapter Exercises
- day #2: ls-ch1: hello world, projects in intellij (LEARN TO USE AN IDE FOR A CHANGE). sbt tool.
- [p] End of Chapter Exercises
- day #3: ls-ch2: basic types and operations etc.
- End of Chapter Exercises
- day #4: ls-ch3: Expressions and Conditionals
- Log dump
nobody@velero-85cffc8585-tmkdf:/$ velero backup create backuptests-lite --exclude-namespaces velero,default,admission-controller,custom-metrics,gpu-resources,kube-node-lease,kube-public,kube-system,logging,monitoring,nginx-ingress --include-namespaces backuptests --storage-location default --wait^C
nobody@velero-85cffc8585-tmkdf:/$ /velero backup create backuptests-lite --exclude-namespaces velero,default,admission-controller,custom-metrics,gpu-resources,kube-node-lease,kube-public,kube-system,logging,monitoring,nginx-ingress --include-namespaces backuptests --storage-location default --wait
Backup request "backuptests-lite" submitted successfully.