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
{ | |
"Hopper": | |
{ | |
}, | |
"Hopper 6502 Assembly": | |
{ "I2C": "true" | |
, "CPU_8MHZ": "false" | |
, "CPU_4MHZ": "true" | |
//, "CPU_2MHZ": "true" | |
, "W65C22_VIA": "false" |
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
program ExploreFS | |
{ | |
uses "/Source/Library/Boards/PimoroniTiny2350" | |
WalkDirectory(string folderPath, uint indent) | |
{ | |
string indentString = ("").Pad(' ', indent); | |
IO.WriteLn(indentString + folderPath); | |
directory dir = Directory.Open(folderPath); | |
if (dir.IsValid()) |
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
program GarageBox | |
{ | |
//#define DIAGNOSTICS | |
uses "/Source/Library/Boards/ChallengerNB2040WiFi" | |
uses "/Source/Library/RTCs/DS3231Driver" | |
uses "/Source/Library/Devices/GenericRTC" | |
uses "/Source/System/DateTime" |
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
program HouseBox | |
{ | |
//#define DIAGNOSTICS | |
uses "/Source/Library/Fonts/Verdana5x8" | |
uses "/Source/Library/Boards/ChallengerNB2040WiFi" | |
uses "/Source/Library/Devices/AdafruitEInk213TriColor" | |
bool lightsOn; |
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
program RTCFeather | |
{ | |
uses "/Source/Library/Boards/PiPico2" | |
uses "/Source/Library/RTCs/DS3232Driver" | |
uses "/Source/Library/Devices/GenericRTC" // can be used with any 'uses "<driver path>" | |
Hopper() | |
{ | |
if (!RTCDevice.Begin()) |
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
program AmbientLog | |
{ | |
#define DIAGNOSTICS | |
uses "/Source/Library/Boards/AdafruitFeatherRP2350Hstx" | |
uses "/Source/Library/Devices/AdafruitAdaloggerRTCSDFeatherwing" | |
uses "/Source/System/DateTime" | |
const string logPath = "/SD/Logs/Data.csv"; |
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
program ProximityEvent | |
{ | |
uses "/Source/Library/Boards/PiPicoW" | |
const byte sensorPin = GP16; | |
const byte ledPin = GP17; | |
long lightUntil = Time.Millis; | |
sensorEvent(byte pin, PinStatus status) |
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
program Proximity | |
{ | |
uses "/Source/Library/Boards/PiPicoW" | |
const byte sensorPin = GP16; | |
const byte ledPin = GP17; | |
Hopper() | |
{ | |
MCU.PinMode(sensorPin, PinModeOption.Input); |
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
program Pico433Rx | |
{ | |
uses "/Source/Library/Boards/PiPicoW" | |
const byte ledPin = GP17; | |
Hopper() | |
{ | |
string captured; | |
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
program Pico433Tx | |
{ | |
uses "/Source/Library/Boards/PiPicoW" | |
const byte ledPin = GP17; | |
Hopper() | |
{ | |
PinMode(ledPin, PinModeOption.Output); | |
NewerOlder