Commit graph

37 commits

Author SHA1 Message Date
Aadi Desai cd7efb15c0
Add verbose flag to can_listen command 2023-06-25 15:02:06 +01:00
Aadi Desai 2227bb8afa
Increase CORDIC time to 7 cycles from 3, reduce osc to 32 2023-06-25 12:15:05 +01:00
Aadi Desai 3fe1a457ab
Fix volume, higher = louder 2023-06-24 21:06:39 +01:00
Aadi Desai 10920aa065
Add functions to demo to control amp 2023-06-24 20:59:47 +01:00
Aadi Desai 44215ffdf0
Add amp control library using i2c 2023-06-24 20:53:04 +01:00
Aadi Desai e3b080235a
Visualise IRQ via LED 2023-06-10 15:18:42 +01:00
Aadi Desai 5871150c5c
Fixes to demo program 2023-06-10 14:56:07 +01:00
Aadi Desai 9da49fa5e3
Add can_init() and can_isr() 2023-06-10 14:07:36 +01:00
Aadi Desai 4c8687014e
Add custom isr.cpp to project 2023-06-10 14:04:15 +01:00
Aadi Desai 391c58c7c6
Update demo readme.md for updated BUILD_DIR 2023-06-09 11:15:02 +01:00
Aadi Desai d970fded6a
Fix can_listen_cmd() 2023-06-08 16:14:03 +01:00
Aadi Desai 5bf1833a03
Fix BUILD_DIR var in demo Makefile 2023-06-08 11:22:25 +01:00
Aadi Desai 8be509cd90
Update main.cpp to use audio header and helpers 2023-06-08 01:37:59 +01:00
Aadi Desai f1dc882f93
Remove float from audio headers and helper files 2023-06-08 01:26:23 +01:00
Aadi Desai 17bb4ae5cd
Swap note header and helper functions for audio 2023-06-08 00:40:48 +01:00
Aadi Desai a8748bb424
Update demo C++ readme with instructions 2023-06-05 13:53:29 +01:00
Aadi Desai 6d670dc903
Add function to play audio from CAN frames, no polyphony 2023-06-04 13:45:17 +01:00
Aadi Desai 8e534f9858
Extend defined notes in note header 2023-06-04 13:11:45 +01:00
Aadi Desai 392374b8dc
Add functions to demo to test CAN block / helpers
Get / Set can filter ID & mask
Read last CAN frame
Read CAN frames in a loop
2023-06-04 12:58:14 +01:00
Aadi Desai 6cf6d0a643
Create CAN helper functions
Get / Set CAN filter ID
Get / Set CAN filter mask
Get latest valid CAN frame in `can_frame` struct
2023-06-04 12:42:03 +01:00
Aadi Desai 2f40fb3bb5
Rename ledchaser module to line up with ifdefs 2023-05-24 12:42:34 +01:00
Aadi Desai a6168e85e8
Add missing LEDs CSR ifdef 2023-05-24 12:36:34 +01:00
Aadi Desai 4c831539a8
Add ifdefs for CSR in note header and source 2023-05-22 13:26:37 +01:00
Aadi Desai 6c54b80d80
Add volume control to main.cpp 2023-05-21 01:23:08 +01:00
Aadi Desai 79ab8cd538
Add waveform selection to demo software
Available waveforms: Sawtooth, Square, Triangle, Sine (To be completed)
2023-05-18 12:52:17 +01:00
Aadi Desai afcf1093be
Update note.cpp and main.cpp for new CSRStorage layout 2023-05-18 11:38:39 +01:00
Aadi Desai cf504787e2
Create note control library for testing 2023-05-16 22:09:35 +01:00
Aadi Desai bf9a03f9d2
Move small functions into main, rm hello worlds 2023-05-12 20:07:39 +01:00
Aadi Desai d057017052
Switch to C++, remove externs, fix warnings 2023-05-12 19:53:27 +01:00
Aadi Desai d1884c6ac8
Move .c files to .cpp in demo folder 2023-05-12 17:44:43 +01:00
Aadi Desai b7d2f6079f
Remove WITH_CXX ifdefs, always compiles as C++ 2023-05-12 17:28:23 +01:00
Aadi Desai 42826f57e4
Remove demo.py and include all steps in build.sh 2023-05-12 14:29:20 +01:00
Aadi Desai 1efe617ae7
Update demo makefile to always use CXX 2023-05-12 14:01:50 +01:00
Aadi Desai 3a13ec3433
Add software support for sawtooth block 2023-03-11 18:06:19 +00:00
Aadi Desai f296ed53d4
Update demo led program for PWM driver 2023-03-07 21:00:30 +00:00
Aadi Desai 5ad6a22db5
Demo using input to set 3-bit led colour 2023-03-07 20:09:56 +00:00
Aadi Desai 29e926beba
Add demo software files and gitignore/build script 2023-03-07 19:05:21 +00:00