sprinkles

sprinkles

User name
sprinkles
Assigned title
 
Assigned post color
#ddbb00
Avatar
Medals
Chrome Whore Chrome Whore
Registration date
2009 September 6
Post count
2547
Score
10 ₧
Location
Colorado Springs, CO
Signature
Timezone
US/Mountain
Groups
havokk

Recent posts by sprinkles

Recent posts by sprinkles

Sep 28 at 20:12 PDT
Life in General
I had an accident.
2013 Jul 17 at 15:22 PDT
You guys play lol.
2013 May 11 at 19:03 PDT
C++ broken stuff whatever shit dog in if( while ) switch{ coding } ++
CodeBlocks for Arduino.
2013 May 11 at 18:16 PDT
C++ broken stuff whatever shit dog in if( while ) switch{ coding } ++
Nope. Checked 5+ times. All the file names are the exact same. BlackThornDemon.

I just started copying the header and source to all the folders on my hdd. Works now.
2013 May 11 at 12:02 PDT
C++ broken stuff whatever shit dog in if( while ) switch{ coding } ++
cluster.ino|2|error: BlackThornDemon.h: No such file or directory|
cluster.ino|3|error: 'BlackThornDemon' does not name a type|
src\BlackThornDemon.cpp|2|error: BlackThornDemon.h: No such file or directory|
src\BlackThornDemon.cpp|4|error: 'BlackThornDemon' has not been declared|

cluster.ino
code
#include <Arduino.h>
#include <BlackThornDemon.h>
BlackThornDemon obd2(2);
char rxData[20];
byte rxIndex=0;

byte speed=0;
/*
rpm is returned at 1/4 the actual rpm
so the range should be 0-2000
*/
int rpm=0;
float fuel=0.00;
/*
int because byte only goes to 255
noraml operatring temps are ~190-200f
so the possibility of the coolant temp
getting over 255 is evident
and if your car is on fire you prolly
want to know
*/
int coolantTemp=0;
// NOTE: we have to read this from the storage device
int odometer=0;
int trip=0;


void setup()
{
Serial.begin(9600); // so we can talk to obd2
delay(500);
Serial.println("ATZ"); //reset obd2
delay(1000);

Serial.flush(); // purge the serial buffer
}

void loop()
{
Serial.flush();
Serial.println("010D"); // tell obd2 to send us speed
//obd2.GetResponse(); // returns the command we sent ("010D")
//obd2.GetResponse(); // returns the data


}


blackthorndemon.h
c code
#ifndef BlackThornDemon_h
#define BlackThornDemon_h
#include "Arduino.h"
class BlackThornDemon
{
public:
BlackThornDemon(int pin);
void GetResponse();
virtual ~BlackThornDemon();
protected:
private:
};


#endif // BLACKTHORNDEMON_H


blackthorndemon.c
c code
#include "Arduino.h"
#include "BlackThornDemon.h"

BlackThornDemon::BlackThornDemon(int pin)
{
pin = pin + pin;
}
BlackThornDemon::GetResponse()
{

}
BlackThornDemon::~BlackThornDemon()
{
//dtor
}
2013 Apr 15 at 18:53 PDT
SuperJer said:
One thing that's very counter-intuitive is that, in the newer stuff, you can have even less world brushes. If you have more than 6 or so world brushes per room, things will go to shit.


So what you are saying is, Valve made this game?
2013 Apr 8 at 01:31 PDT
Rockbomb said:
It's so pretty :3
Is there a CS:GO server anyone here frequents?


superjers you no has csgoserver?
2013 Mar 22 at 00:54 PDT
dunky?
2013 Mar 20 at 22:23 PDT
daddy in General
Down Rodeo said:
Outcast said:
Put your dick in there and see what happens.
I did actually think it was a fleshlight. Like a metallic one.


Its 4 inches in diameter.

Oh and the muffler is pretty wide too.
2013 Mar 16 at 00:44 PDT