mirror of
https://github.com/team2059/Zaphod
synced 2024-12-18 20:12:28 -05:00
Added a function to put key values and will eventually return if successful
This commit is contained in:
parent
bf41285efe
commit
616df6236e
@ -8,3 +8,9 @@ float ZaphodDashboard::getKeyValue(const char* key)
|
||||
{
|
||||
return 1.0f;
|
||||
}
|
||||
|
||||
bool ZaphodDashboard::putKeyValue(const char* key, float value)
|
||||
{
|
||||
SmartDashboard::PutNumber(key,value);
|
||||
return true;
|
||||
}
|
||||
|
@ -5,5 +5,8 @@ class ZaphodDashboard
|
||||
{
|
||||
public:
|
||||
ZaphodDashboard();
|
||||
//Array used to track the values in the dashboard
|
||||
bool DashboardValues[];
|
||||
float getKeyValue(const char* key);
|
||||
bool putKeyValue(const char* key, float value);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user